Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.33MB] [CPU: ▼12.47ms] Passed 4 tests
This is a short check of server-side resources used by Solutions Invoice Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 40.55 ▲1.04 |
Dashboard /wp-admin | 3.71 ▲0.36 | 43.57 ▼20.99 |
Posts /wp-admin/edit.php | 3.67 ▲0.32 | 38.12 ▼10.11 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 88.11 ▼19.83 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 40.01 ▲5.42 |
Invoices /wp-admin/edit.php?post_type=sim-invoice | 3.70 | 40.06 |
Send Email /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-sendemail | 3.77 | 33.96 |
Clients /wp-admin/edit-tags.php?taxonomy=sim-client&post_type=sim-invoice | 3.82 | 34.97 |
Reports /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-reports | 3.84 | 33.14 |
Payees /wp-admin/edit-tags.php?taxonomy=sim-payee&post_type=sim-invoice | 3.65 | 34.63 |
How To Use /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-howto | 3.64 | 31.93 |
Options /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-options | 3.64 | 36.47 |
Logs /wp-admin/edit.php?post_type=sim-invoice-logs | 3.69 | 39.50 |
Server storage [IO: ▲5.32MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 445 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
sim-invoice-options |
widget_theysaidso_widget |
sim_invoice_templates |
sim_invoice_need_flush |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Solutions Invoice Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,975 ▲229 | 13.41 ▼0.94 | 8.43 ▲6.87 | 41.87 ▲0.65 |
Dashboard /wp-admin | 2,267 ▲87 | 5.67 ▲0.08 | 95.24 ▼1.94 | 41.46 ▼1.96 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.06 ▲0.03 | 41.77 ▼2.08 | 35.67 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,586 ▲60 | 23.74 ▲0.22 | 693.56 ▲94.65 | 37.68 ▼14.73 |
Media Library /wp-admin/upload.php | 1,478 ▲78 | 4.31 ▲0.12 | 97.53 ▼1.51 | 44.38 ▼0.31 |
Invoices /wp-admin/edit.php?post_type=sim-invoice | 1,222 | 1.98 | 33.07 | 31.31 |
Send Email /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-sendemail | 870 | 2.19 | 25.92 | 28.26 |
Clients /wp-admin/edit-tags.php?taxonomy=sim-client&post_type=sim-invoice | 1,360 | 2.21 | 31.00 | 33.54 |
Reports /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-reports | 917 | 2.06 | 24.78 | 27.94 |
Payees /wp-admin/edit-tags.php?taxonomy=sim-payee&post_type=sim-invoice | 1,339 | 2.21 | 30.35 | 30.44 |
How To Use /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-howto | 938 | 2.19 | 24.77 | 27.24 |
Options /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-options | 947 | 2.06 | 26.14 | 28.78 |
Logs /wp-admin/edit.php?post_type=sim-invoice-logs | 1,202 | 1.98 | 33.91 | 27.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/solutions-invoice-manager/includes/class-solutions-invoice-manager-deactivator.php+43
Invalid argument supplied for foreach()
- Zombie WordPress options detected upon uninstall: 7 options
- sim-invoice-options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-reports
- > Warning in wp-content/plugins/solutions-invoice-manager/admin/partials/solutions-invoice-manager-admin-display-reports.php+200
ksort() expects parameter 1 to be array, null given
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-reports
- > Warning in wp-content/plugins/solutions-invoice-manager/admin/partials/solutions-invoice-manager-admin-display-reports.php+84
Invalid argument supplied for foreach()
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sim-invoice&page=solutions-invoice-manager-reports
- > Deprecated in wp-content/plugins/solutions-invoice-manager/admin/partials/solutions-invoice-manager-admin-display-reports.php+297
Function money_format() is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 59× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/solutions-invoice-manager/admin/partials/solutions-invoice-manager-admin-display-reports.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/solutions-invoice-manager/admin/partials/solutions-invoice-manager-admin-display-options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/solutions-invoice-manager/includes/CMB2/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Taxonomy_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Taxonomy_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2/includes/types/CMB2_Type_Oembed.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cmb2Grid\\Grid\\Column' not found in wp-content/plugins/solutions-invoice-manager/includes/CMB2-grid/Grid/Group/GroupColumn.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: services, invoice, ecommerce
solutions-invoice-manager/solutions-invoice-manager.php 92% from 13 tests
The principal PHP file in "Solutions Invoice Manager" v. 1.2.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Git Repository: There should be no Git repositories present in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin102,124 lines of code in 282 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 3 | 5 | 4 | 47,760 |
PO File | 120 | 13,782 | 17,882 | 31,544 |
PHP | 107 | 3,172 | 6,954 | 13,844 |
CSS | 16 | 1,115 | 1,159 | 5,455 |
Sass | 14 | 267 | 25 | 1,265 |
JavaScript | 7 | 276 | 354 | 1,140 |
Markdown | 7 | 251 | 0 | 717 |
YAML | 3 | 18 | 33 | 184 |
JSON | 4 | 0 | 0 | 129 |
Bourne Shell | 1 | 22 | 11 | 86 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 18.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 338.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 97 | |
▷ Abstract classes | 11 | 11.34% |
▷ Concrete classes | 86 | 88.66% |
▷ Final classes | 0 | 0.00% |
Methods | 913 | |
▷ Static methods | 81 | 8.87% |
▷ Public methods | 756 | 82.80% |
▷ Protected methods | 145 | 15.88% |
▷ Private methods | 12 | 1.31% |
Functions | 52 | |
▷ Named functions | 52 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 8 | 53.33% |
▷ Class constants | 7 | 46.67% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/CMB2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/CMB2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/CMB2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |