Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.31ms] Passed 4 tests
Analyzing server-side resources used by Abacus Menu Sync For Woo by App Domain
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.57 ▲4.07 |
Dashboard /wp-admin | 3.37 ▲0.06 | 50.36 ▲1.71 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 44.71 ▼2.53 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 92.00 ▼2.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.59 ▲6.56 |
WC Abacus Menu /wp-admin/options-general.php?page=abacus_menu | 3.26 | 29.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Abacus Menu Sync For Woo by App Domain
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.64 ▼1.11 | 4.91 ▲3.23 | 42.80 ▲0.04 |
Dashboard /wp-admin | 2,207 ▲16 | 5.86 ▲0.98 | 99.11 ▼2.80 | 37.84 ▼5.04 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.07 | 36.85 ▼2.83 | 36.40 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 23.62 ▲5.23 | 686.84 ▲13.23 | 53.53 ▼12.44 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.00 | 106.29 ▲5.07 | 44.58 ▼1.90 |
WC Abacus Menu /wp-admin/options-general.php?page=abacus_menu | 850 | 2.03 | 23.01 | 27.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/abacus-menu-sync-for-woo/abacus-menu-sync-woo.php+47
rmdir(wp-content/uploads/abacusmenu): Directory not empty
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- 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 no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/abacus-menu-sync-for-woo/abacus-menu-sync-woo.php:10
- > 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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: order menu, setting, woocommerce category, shop, woocommerce products...
abacus-menu-sync-for-woo/abacus-menu-sync-woo.php 92% from 13 tests
The entry point to "Abacus Menu Sync For Woo by App Domain" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("abacus-menu-sync-for-woo.php" instead of "abacus-menu-sync-woo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected268 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 7 | 247 |
CSS | 1 | 1 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected