-
Home
-
Client Invoicing by Sprout Invoices – Easy Estimates and Invoices for WordPress
-
20.7.0
-
Code
-
Classes
- SI_Estimate
| Total Complexity |
122 |
| Dependencies |
8 |
| Dependents |
52 |
| Total lines |
771 |
| Lines of code |
524 |
| Logical lines of code |
263 |
| Comment lines |
135 |
| Methods |
66 |
| Properties |
2 |
Methods 66
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| create_estimate() |
A |
40 |
7 |
61 |
| get_subtotal() |
A |
51 |
9 |
26 |
| is_estimate_query() |
A |
54 |
9 |
21 |
| set_status() |
S |
53 |
7 |
23 |
| get_fees_total() |
S |
55 |
7 |
19 |
| get_instance() |
S |
62 |
6 |
11 |
| get_calculated_total() |
S |
59 |
4 |
14 |
| get_discount_total() |
S |
59 |
3 |
13 |
| register_post_statuses() |
S |
60 |
2 |
13 |
| init() |
S |
53 |
1 |
24 |
| get_status_label() |
S |
69 |
2 |
7 |
| set_issue_date() |
S |
67 |
2 |
8 |
| get_expiration_date() |
S |
65 |
2 |
8 |
| get_estimate_id() |
S |
67 |
2 |
8 |
| get_client() |
S |
70 |
2 |
6 |
| get_project() |
S |
69 |
2 |
7 |
| get_line_items() |
S |
69 |
2 |
7 |
| get_fees() |
S |
68 |
2 |
7 |
| remove_fee() |
S |
66 |
2 |
9 |
| get_currency() |
S |
67 |
2 |
8 |
| reset_totals() |
S |
65 |
2 |
10 |
| get_statuses() |
S |
61 |
1 |
12 |
| __construct() |
S |
80 |
1 |
3 |
| get_status() |
S |
82 |
1 |
3 |
| set_as_request() |
S |
81 |
1 |
3 |
| set_pending() |
S |
81 |
1 |
3 |
| set_approved() |
S |
81 |
1 |
3 |
| set_declined() |
S |
81 |
1 |
3 |
| set_archived() |
S |
81 |
1 |
3 |
| get_submission_fields() |
S |
79 |
1 |
3 |
| set_submission_fields() |
S |
71 |
1 |
6 |
| get_issue_date() |
S |
76 |
1 |
4 |
| set_expiration_date() |
S |
71 |
1 |
6 |
| set_estimate_id() |
S |
71 |
1 |
6 |
| get_po_number() |
S |
79 |
1 |
3 |
| set_po_number() |
S |
71 |
1 |
6 |
| get_client_id() |
S |
79 |
1 |
3 |
| set_client_id() |
S |
71 |
1 |
6 |
| get_discount() |
S |
79 |
1 |
3 |
| set_discount() |
S |
71 |
1 |
6 |
| get_shipping() |
S |
79 |
1 |
3 |
| set_shipping() |
S |
71 |
1 |
6 |
| get_tax() |
S |
79 |
1 |
3 |
| set_tax() |
S |
71 |
1 |
6 |
| get_tax_total() |
S |
69 |
1 |
6 |
| get_tax2() |
S |
79 |
1 |
3 |
| set_tax2() |
S |
71 |
1 |
6 |
| get_tax2_total() |
S |
69 |
1 |
6 |
| get_project_id() |
S |
79 |
1 |
3 |
| set_project_id() |
S |
71 |
1 |
6 |
| get_total() |
S |
75 |
1 |
4 |
| set_total() |
S |
71 |
1 |
6 |
| set_calculated_total() |
S |
69 |
1 |
7 |
| get_terms() |
S |
74 |
1 |
4 |
| set_terms() |
S |
71 |
1 |
6 |
| get_notes() |
S |
74 |
1 |
4 |
| set_notes() |
S |
71 |
1 |
6 |
| get_sender_note() |
S |
74 |
1 |
4 |
| set_sender_note() |
S |
71 |
1 |
6 |
| set_line_items() |
S |
70 |
1 |
6 |
| set_fees() |
S |
70 |
1 |
6 |
| set_currency() |
S |
71 |
1 |
6 |
| get_user_id() |
S |
79 |
1 |
3 |
| set_user_id() |
S |
71 |
1 |
6 |
| get_invoice_id() |
S |
76 |
1 |
4 |
| get_history() |
S |
80 |
1 |
3 |