I am testing a third party App on a staging branch of my Odoo.sh project.
Is there an easy way to count the lines of code so I know the maintenance cost moving forward?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am testing a third party App on a staging branch of my Odoo.sh project.
Is there an easy way to count the lines of code so I know the maintenance cost moving forward?
Yes.
1. Click the SHELL tab of your branch:

2. Change into the directory where your custom module is stored:

You want to change directories until you are in ~/src/user
cd src
cd user
3. Run odoo with the LOC argument:
odoo-bin cloc -P .
This is the output:
For more information on what these numbers count, see https://www.odoo.com/documentation/master/developer/reference/cli.html#cloc
Thanks
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren| Verknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
|---|---|---|---|---|
|
3
Sept. 25
|
22161 | |||
|
0
Juli 21
|
3193 | |||
|
2
Okt. 24
|
2078 | |||
|
0
Apr. 23
|
3857 | |||
|
0
Apr. 19
|
3892 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.