Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼16.06ms] Passed 4 tests
A check of server-side resources used by Innovation List Shortcode
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.49 ▼8.57 |
Dashboard /wp-admin | 3.34 ▼0.01 | 50.01 ▼18.30 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.15 ▼8.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.92 ▼28.72 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.86 ▼3.06 |
All Innovations /wp-admin/edit.php?post_type=innovations | 3.30 | 35.71 |
Add New /wp-admin/post-new.php?post_type=innovations | 3.37 | 50.61 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Innovation List Shortcode
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,856 ▲110 | 14.39 ▼0.17 | 5.59 ▲3.72 | 44.84 ▼1.84 |
Dashboard /wp-admin | 2,222 ▲48 | 5.56 ▼0.02 | 85.20 ▼16.66 | 40.37 ▼3.83 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.98 ▼0.04 | 35.68 ▼5.83 | 34.40 ▼4.24 |
Add New Post /wp-admin/post-new.php | 1,549 ▲13 | 22.97 ▲4.56 | 680.65 ▲32.56 | 55.71 ▼6.50 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.21 ▼0.03 | 96.61 ▼3.50 | 44.09 ▼3.80 |
All Innovations /wp-admin/edit.php?post_type=innovations | 1,103 | 1.94 | 43.75 | 38.64 |
Add New /wp-admin/post-new.php?post_type=innovations | 2,233 | 7.74 | 164.19 | 67.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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/innovation-list-shortcode/innovation.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: slider, theme, innovation, shortcode, popup
innovation-list-shortcode/innovation.php 85% from 13 tests
The principal PHP file in "Innovation List Shortcode" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("innovation-list-shortcode.php" instead of "innovation.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,331 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 469 | 916 | 1,953 |
CSS | 4 | 19 | 41 | 277 |
PHP | 1 | 8 | 32 | 101 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
basic/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
basic/innovation-default.png | 27.41KB | 12.05KB | ▼ 56.04% |
basic/img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
basic/img/grabbing.png | 0.11KB | 0.14KB | 0.00% |
basic/img/glyphicons-halflings-green.png | 15.37KB | 8.95KB | ▼ 41.75% |