Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.80ms] Passed 4 tests
An overview of server-side resources used by CBX Accounting Vendors & Clients Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.29 ▼4.95 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.49 ▼18.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.72 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.99 ▼12.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.54 ▲2.49 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 145 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for CBX Accounting Vendors & Clients Addon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.41 ▲0.01 | 1.82 ▼0.52 | 38.78 ▼6.76 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.15 | 85.95 ▼11.94 | 38.55 ▼4.00 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.05 ▲0.01 | 37.56 ▼0.08 | 35.07 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,547 ▲16 | 23.42 ▲0.38 | 683.72 ▲33.22 | 55.78 ▲2.93 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.16 ▼0.04 | 103.89 ▼2.42 | 45.12 ▲2.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/cbxwpsimpleaccountingvc/partials/mustache-template-vc.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8 in cbxwpsimpleaccountingvc/assets to your readme.txt
cbxwpsimpleaccountingvc/cbxwpsimpleaccountingvc.php Passed 13 tests
The main PHP file in "CBX Accounting Vendors & Clients Addon" ver. 1.1.0 adds more information about the plugin and also serves as the entry point for this plugin
57 characters long description:
Vendors & Clients for CBX Accounting & Bookkeeping plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected7,805 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 132 | 931 | 1,655 | 5,328 |
PHP | 9 | 573 | 565 | 2,280 |
CSS | 2 | 30 | 5 | 197 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 60.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 171.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 9 | 13.24% |
▷ Public methods | 67 | 98.53% |
▷ Protected methods | 1 | 1.47% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected