Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.61ms] Passed 4 tests
Analyzing server-side resources used by EZYcount Accounting
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 46.34 ▲5.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.52 ▲1.94 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 50.57 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 98.97 ▼11.53 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 38.96 ▲5.92 |
EZYcount Log /wp-admin/admin.php?page=ezycount-accounting/ezycount_acc.php/ezyerrors.php | 3.26 | 35.05 |
EZYcount /wp-admin/admin.php?page=ezycount-accounting | 3.27 | 52.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_ezycount_acc_response_detail |
wp_ezycount_acc_detail_setting |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
EZYcount Accounting: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.24 ▼1.06 | 1.64 ▼0.05 | 44.96 ▲0.50 |
Dashboard /wp-admin | 2,235 ▲47 | 4.80 ▼0.30 | 108.23 ▼6.00 | 41.30 ▼0.47 |
Posts /wp-admin/edit.php | 2,118 ▲26 | 2.05 ▲0.05 | 39.20 ▼1.11 | 34.97 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.33 ▲5.06 | 661.30 ▲64.17 | 56.87 ▲11.03 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.22 ▼0.04 | 95.13 ▼5.02 | 41.59 ▼2.23 |
EZYcount Log /wp-admin/admin.php?page=ezycount-accounting/ezycount_acc.php/ezyerrors.php | 775 | 2.03 | 24.71 | 24.54 |
EZYcount /wp-admin/admin.php?page=ezycount-accounting | 923 | 2.03 | 27.88 | 29.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_ezycount_acc_response_detail
- wp_ezycount_acc_detail_setting
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
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
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ezycount-accounting/viewonclick.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/ezycount-accounting/view.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ezycount-accounting/orderplaced.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/ezycount-accounting/ezyerrors.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ezycount-accounting/ezycount_acc.php:12
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/ezycount-accounting/ezyerrors.php:19
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: business, accounting, ecommerce, woocommerce, ezycount
ezycount-accounting/ezycount_acc.php 92% from 13 tests
Analyzing the main PHP file in "EZYcount Accounting" version 1.1
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ezycount-accounting.php" instead of "ezycount_acc.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected701 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 138 | 28 | 687 |
CSS | 1 | 2 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 images were found in this plugin