Fortnox_API C

Total Complexity 114
Dependencies 3
Dependents 1
Total lines 786
Lines of code 562
Logical lines of code 237
Comment lines 28
Methods 63
Properties 1

Methods 63

Method Rating Maintainability Complexity Lines of code
apiCall()
B
39 16 58
getAllCustomers()
A
51 8 23
get_all_articles()
A
51 8 23
get_access_token()
S
43 6 45
get_financial_years()
S
60 3 14
get_all_invoices()
S
61 3 11
get_customers_by_organisation_number()
S
65 3 9
get_customers_by_email()
S
64 3 9
__construct()
S
75 2 4
get_customers_by_name()
S
66 2 8
get_first_customer_by_organisation_number()
S
78 2 3
get_first_customer_by_email()
S
78 2 3
getInvoicePayments()
S
66 2 8
getInvoicePaymentsByInvoiceNumber()
S
66 2 8
getAllAccounts()
S
63 2 10
get_print_templates()
S
66 2 8
ratelimiter()
S
66 2 8
updateInvoice()
S
66 1 9
book_invoice()
S
72 1 6
get_order()
S
69 1 7
get_terms_of_payments()
S
69 1 7
get_modes_of_payments()
S
69 1 7
get_terms_of_deliveries()
S
69 1 7
get_way_of_deliveries()
S
69 1 7
create_invoice()
S
66 1 9
update_invoice()
S
66 1 9
external_print_invoice()
S
72 1 6
email_invoice()
S
72 1 6
credit_invoice()
S
72 1 6
getInvoicesByExternalInvoiceReference1()
S
75 1 4
addCustomer()
S
66 1 9
createInvoicePayment()
S
66 1 9
getCustomer()
S
69 1 7
bookkeepInvoicePayment()
S
74 1 4
update_price()
S
67 1 8
create_price()
S
75 1 4
get_prices()
S
73 1 4
get_pricelists()
S
74 1 4
get_invoice()
S
69 1 7
getOrdersByExternalInvoiceReference1()
S
75 1 4
cancel_order()
S
71 1 6
update_order()
S
66 1 9
cancelInvoice()
S
71 1 6
finish_order()
S
69 1 7
getOrderPDF()
S
71 1 6
getInvoicePDF()
S
71 1 6
warehouseOrder()
S
72 1 6
get_article()
S
69 1 7
get_units()
S
69 1 7
get_unit()
S
69 1 7
create_unit()
S
66 1 9
get_article_by_manufacturer_article_number()
S
71 1 6
getOrder()
S
69 1 7
get_article_by_description()
S
71 1 6
get_cost_centers()
S
69 1 7
get_service_url()
S
82 1 3
get_projects()
S
69 1 7
update_article()
S
66 1 9
create_article()
S
66 1 9
createVoucher()
S
66 1 9
create_order()
S
66 1 9
updateCustomer()
S
66 1 9
get_company_information()
S
79 1 3