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 gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼2.74ms] Passed 4 tests
This is a short check of server-side resources used by Accordion and Accordion Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 36.36 ▼4.67 |
Dashboard /wp-admin | 3.60 ▲0.26 | 48.45 ▼13.35 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 48.92 ▲1.87 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 91.93 ▲5.20 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.67 ▲5.84 |
Server storage [IO: ▲0.32MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
wpos_anylc_site_uid |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
wpos_anylc_redirect |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Accordion and Accordion Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,584 ▼1,178 | 10.63 ▼3.64 | 1.89 ▲0.01 | 17.47 ▼27.58 |
Dashboard /wp-admin | 2,229 ▲49 | 5.58 ▼0.06 | 99.41 ▼0.72 | 50.86 ▲3.69 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.20 ▲0.27 | 40.33 ▼4.89 | 34.80 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 23.62 ▼1.62 | 638.42 ▲26.48 | 52.19 ▼12.34 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.22 ▲0.04 | 97.66 ▼0.05 | 38.86 ▼4.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- wpos_anylc_site_uid
- widget_recent-posts
- theysaidso_admin_options
- wpos_anylc_redirect
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in accordion-and-accordion-slider/assets to your readme.txt
accordion-and-accordion-slider/accordion-and-accordion-slider.php 92% from 13 tests
The main PHP file in "Accordion and Accordion Slider" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin3,674 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 559 | 719 | 1,895 |
JavaScript | 4 | 70 | 34 | 1,639 |
CSS | 3 | 7 | 5 | 140 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 29.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 36 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.26% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/popup-anything-icon.png | 6.69KB | 2.25KB | ▼ 66.36% |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
wpos-analytics/assets/images/icon.png | 3.59KB | 0.21KB | ▼ 94.04% |
assets/images/security-icon.png | 5.55KB | 1.43KB | ▼ 74.21% |
assets/images/SlidersPack-50.png | 6.48KB | 2.79KB | ▼ 56.91% |