Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.34ms] 75% from 4 tests
Analyzing server-side resources used by Accordion & FAQs
Please fix the following
- CPU: You should keep total CPU usage under 500.00ms (currently 664.00ms on /wp-admin/admin.php?page=cldzr_more_freeplugs)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.74 ▲1.28 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.94 ▼4.02 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 42.99 ▼3.17 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.41 ▼7.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.35 ▲1.43 |
Free vs Pro /wp-admin/admin.php?page=cldzr_freediffpro | 3.29 | 29.83 |
Add Accordion /wp-admin/post-new.php?post_type=cdlzr_accrodion_box | 3.40 | 49.63 |
Upgrade To Pro /wp-admin/admin.php?page=accbox_upgpro | 3.27 | 31.70 |
More Free Plugins /wp-admin/admin.php?page=cldzr_more_freeplugs | 3.58 | 664.00 |
All Accordion Box /wp-admin/admin.php?page=cdlzr_acc_box | 3.24 | 29.01 |
Server storage [IO: ▲3.92MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Accordion & FAQs: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲60 | 13.13 ▼0.19 | 1.72 ▲0.05 | 45.63 ▲0.22 |
Dashboard /wp-admin | 2,255 ▲46 | 5.84 ▲0.01 | 96.62 ▼1.47 | 87.22 ▲45.31 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 1.99 ▼0.00 | 35.62 ▲2.53 | 36.90 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,566 ▲52 | 23.08 ▲5.57 | 736.71 ▲67.89 | 49.18 ▼8.31 |
Media Library /wp-admin/upload.php | 1,437 ▲52 | 4.23 ▲0.03 | 95.76 ▼6.95 | 76.82 ▲31.89 |
Free vs Pro /wp-admin/admin.php?page=cldzr_freediffpro | 1,024 | 2.01 | 26.67 | 67.48 |
Add Accordion /wp-admin/post-new.php?post_type=cdlzr_accrodion_box | 2,832 | 7.34 | 150.26 | 197.10 |
Upgrade To Pro /wp-admin/admin.php?page=accbox_upgpro | 965 | 2.01 | 24.42 | 42.38 |
More Free Plugins /wp-admin/admin.php?page=cldzr_more_freeplugs | 1,360 | 2.02 | 27.44 | 41.80 |
All Accordion Box /wp-admin/admin.php?page=cdlzr_acc_box | 1,801 | 2.77 | 35.31 | 36.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
include(): Failed opening 'ABSPATHwp-admin/includes/plugin-install.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/accordion-box/admin/ourfreeplugs.php on line 30
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/accordion-box/admin/ourfreeplugs.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accordion-box/admin/freediffpro.php:18
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/accordion-box/admin/ourfreeplugs.php on line 30
- > PHP Warning
include(ABSPATHwp-admin/includes/plugin-install.php): failed to open stream: No such file or directory in wp-content/plugins/accordion-box/admin/ourfreeplugs.php on line 30
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/post-new.php?post_type=cdlzr_accrodion_box
- > Network (severe)
wp-content/plugins/accordion-box/admin/assets/images/freeone.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #13, #14, #15, #2, #3, #4, #5, #6, #7, #8, #9 in accordion-box/assets to your readme.txt
- Tags: Please delete some tags, you are using 32 tag instead of maximum 10
accordion-box/accordion-box.php 85% from 13 tests
The entry point to "Accordion & FAQs" version 2.6 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 300 characters long)
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
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
Everything looks great! No dangerous files found in this plugin14,124 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,445 |
CSS | 12 | 474 | 74 | 2,803 |
PHP | 17 | 168 | 82 | 1,594 |
JavaScript | 8 | 77 | 142 | 282 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 7.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 37 | |
▷ Static methods | 27 | 72.97% |
▷ Public methods | 35 | 94.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.41% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.64MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/style3.PNG | 28.78KB | 28.99KB | 0.00% |
admin/assets/images/style1.PNG | 47.88KB | 48.22KB | 0.00% |
admin/assets/images/accordion.PNG | 263.74KB | 75.82KB | ▼ 71.25% |
admin/assets/images/freeone.PNG | 99.91KB | 31.09KB | ▼ 68.88% |
admin/assets/images/style4.PNG | 118.58KB | 59.79KB | ▼ 49.58% |