Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.54ms] Passed 4 tests
Server-side resources used by Simple Wp colorfull Accordion
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.23 ▲1.47 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.02 ▼14.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.59 ▲2.65 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.27 ▲3.38 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.68 ▼0.12 |
Accordion /wp-admin/edit.php?post_type=accordian | 3.29 | 33.22 |
Add New /wp-admin/post-new.php?post_type=accordian | 3.37 | 44.35 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Wp colorfull Accordion
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲172 | 14.07 ▼0.30 | 5.50 ▲3.83 | 43.08 ▲2.89 |
Dashboard /wp-admin | 2,233 ▲48 | 4.89 ▼0.99 | 105.13 ▲2.01 | 41.46 ▲0.96 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.00 ▼0.02 | 39.36 ▲0.75 | 34.31 ▲1.05 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 23.25 ▲5.64 | 596.01 ▼89.86 | 61.84 ▲1.62 |
Media Library /wp-admin/upload.php | 1,415 ▲33 | 4.20 ▲0.02 | 95.36 ▼1.99 | 44.41 ▼1.04 |
Accordion /wp-admin/edit.php?post_type=accordian | 1,077 | 1.96 | 31.17 | 29.93 |
Add New /wp-admin/post-new.php?post_type=accordian | 2,176 | 7.56 | 169.43 | 64.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-wp-colorfull-accordion/Simple-Wp-colorfull-Accordion.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== simple-wp-colorfull-accordion ===
)
simple-wp-colorfull-accordion/Simple-Wp-colorfull-Accordion.php 92% from 13 tests
The main PHP file in "Simple Wp colorfull Accordion" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-wp-colorfull-accordion.php" instead of "Simple-Wp-colorfull-Accordion.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
Everything looks great! No dangerous files found in this plugin66 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 7 | 50 |
CSS | 1 | 2 | 5 | 11 |
JavaScript | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
14 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.27KB | 0.14KB | ▼ 47.84% |
css/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |
css/images/ui-icons_228ef1_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png | 0.32KB | 0.18KB | ▼ 42.38% |