Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.64MB] [CPU: ▼0.93ms] Passed 4 tests
This is a short check of server-side resources used by Accordion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.14 ▲1.68 | 48.03 ▲6.53 |
Dashboard /wp-admin | 4.97 ▲1.63 | 52.29 ▼10.45 |
Posts /wp-admin/edit.php | 5.03 ▲1.67 | 58.42 ▲12.21 |
Add New Post /wp-admin/post-new.php | 7.54 ▲1.65 | 90.02 ▼11.83 |
Media Library /wp-admin/upload.php | 4.84 ▲1.61 | 46.47 ▲12.01 |
Settings /wp-admin/edit.php?post_type=accordions&page=accordions-settings | 4.93 | 49.72 |
All Accordions /wp-admin/edit.php?post_type=accordions | 4.94 | 49.17 |
Add New /wp-admin/post-new.php?post_type=accordions | 5.12 | 63.03 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 92 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_widget_accordions |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Accordion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲91 | 14.19 ▲0.12 | 1.67 ▼0.03 | 40.05 ▼2.28 |
Dashboard /wp-admin | 2,231 ▲53 | 5.64 ▼0.04 | 98.14 ▼18.66 | 42.16 ▼3.42 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.00 ▲0.04 | 40.90 ▲3.41 | 35.82 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,557 ▲30 | 22.87 ▼0.32 | 668.61 ▲48.96 | 50.42 ▲4.17 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.22 ▼0.04 | 96.61 ▲2.34 | 41.94 ▲1.23 |
Settings /wp-admin/edit.php?post_type=accordions&page=accordions-settings | 2,388 | 5.44 | 98.82 | 53.19 |
All Accordions /wp-admin/edit.php?post_type=accordions | 1,108 | 1.93 | 34.57 | 29.58 |
Add New /wp-admin/post-new.php?post_type=accordions | 5,419 | 7.58 | 205.62 | 42.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_widget_accordions
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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 everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 need to be fixed:
- Screenshots: Please add an image for screenshot #3 (screenshot-3)
- Screenshots: Add descriptions for screenshots #11, #12 in accordions/assets to your readme.txt
accordions/accordions.php Passed 13 tests
The principal PHP file in "Accordion" v. 2.2.96 is loaded by WordPress automatically on each request
63 characters long description:
Fully responsive and mobile ready accordion grid for wordpress.
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
Everything looks great! No dangerous files found in this plugin33,245 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 0 | 9,251 |
PHP | 44 | 4,239 | 160 | 8,424 |
CSS | 9 | 2,422 | 121 | 8,146 |
JavaScript | 4 | 1,076 | 974 | 7,424 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 80.78 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 641.00 |
Average method complexity | 12.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 62 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 75 | |
▷ Named functions | 75 | 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
12 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/css/images/ui-icons_cc0000_256x240.png | 4.52KB | 4.18KB | ▼ 7.56% |
assets/global/images/bg/dimension.png | 0.54KB | 0.57KB | 0.00% |
assets/frontend/css/images/ui-icons_777620_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
assets/admin/images/flat.png | 6.30KB | 2.94KB | ▼ 53.32% |
assets/frontend/css/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |