Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.28ms] Passed 4 tests
This is a short check of server-side resources used by just Simple Accordions
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.23 ▼2.49 |
Dashboard /wp-admin | 3.34 ▲0.03 | 57.05 ▲5.03 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.63 ▼1.37 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.38 ▼24.86 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.42 ▼0.41 |
Accordions /wp-admin/edit.php?post_type=accordian | 3.30 | 41.76 |
Add New /wp-admin/post-new.php?post_type=accordian | 3.38 | 52.22 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for just Simple Accordions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.60 ▼0.67 | 9.35 ▲7.58 | 38.70 ▼7.91 |
Dashboard /wp-admin | 2,222 ▲54 | 5.51 ▼0.10 | 83.91 ▼12.15 | 39.82 ▼7.22 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▼0.04 | 38.94 ▼3.96 | 39.86 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.00 ▼0.10 | 656.57 ▲4.38 | 56.11 ▼3.25 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.09 ▼0.13 | 102.01 ▼6.93 | 43.62 ▼0.09 |
Accordions /wp-admin/edit.php?post_type=accordian | 1,091 | 1.96 | 32.34 | 31.33 |
Add New /wp-admin/post-new.php?post_type=accordian | 2,185 | 7.55 | 178.61 | 62.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/just-simple-accordions/index.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== just-simple-accordions ===
) - Screenshots: Add images for these screenshots: #1 (This is the first screen shot), #2 (This is the second screen shot), #3 (This is the third screen shot)
just-simple-accordions/index.php 92% from 13 tests
"just Simple Accordions" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("just-simple-accordions.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
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 | 22 | 7 | 50 |
CSS | 1 | 2 | 5 | 11 |
JavaScript | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
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_glass_100_fdf5ce_1x400.png | 0.34KB | 0.16KB | ▼ 54.02% |
css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.30KB | 0.15KB | ▼ 49.68% |
css/images/ui-bg_flat_10_000000_40x100.png | 0.20KB | 0.08KB | ▼ 57.56% |
css/images/ui-icons_ffd27a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |