Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼12.76ms] Passed 4 tests
This is a short check of server-side resources used by Envoke Supersized
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 44.09 ▼5.87 |
Dashboard /wp-admin | 3.37 ▲0.02 | 52.58 ▼18.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.39 ▼8.21 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.95 ▼18.25 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.88 ▼0.27 |
Categories /wp-admin/edit-tags.php?taxonomy=slide-category&post_type=slides | 3.37 | 39.31 |
Settings /wp-admin/edit.php?post_type=slides&page=enss-settings | 3.26 | 33.26 |
Add New /wp-admin/post-new.php?post_type=slides | 3.41 | 53.49 |
All Slides /wp-admin/edit.php?post_type=slides | 3.33 | 41.59 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Envoke Supersized
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.25 ▼0.41 | 1.78 ▼0.24 | 43.20 ▼1.58 |
Dashboard /wp-admin | 2,230 ▲53 | 5.61 ▼0.05 | 84.08 ▼12.19 | 42.50 ▼3.13 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 2.04 ▲0.08 | 38.42 ▼0.24 | 34.58 ▼0.79 |
Add New Post /wp-admin/post-new.php | 6,344 ▲4,818 | 18.95 ▼3.98 | 923.35 ▲224.13 | 55.65 ▼5.24 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.20 ▲0.04 | 99.51 ▼4.12 | 45.77 ▼4.58 |
Categories /wp-admin/edit-tags.php?taxonomy=slide-category&post_type=slides | 1,309 | 2.12 | 25.17 | 30.67 |
Settings /wp-admin/edit.php?post_type=slides&page=enss-settings | 1,454 | 1.82 | 25.78 | 25.45 |
Add New /wp-admin/post-new.php?post_type=slides | 2,293 | 7.72 | 167.21 | 64.21 |
All Slides /wp-admin/edit.php?post_type=slides | 1,107 | 1.93 | 30.62 | 31.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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 | 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 fix the following
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envoke-supersized/includes/class-enss-settings.php:128
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envoke-supersized/includes/class-enss-slide.php:82
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envoke-supersized/includes/class-enss-front-end.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/envoke-supersized/envoke_supersized.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envoke-supersized/includes/class-enss-back-compat.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/envoke-supersized/includes/class-enss-per-post-override.php:92
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
envoke-supersized/envoke_supersized.php 85% from 13 tests
The main file in "Envoke Supersized" v. 2.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("envoke-supersized.php" instead of "envoke_supersized.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,303 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 619 | 415 | 1,729 |
PHP | 6 | 165 | 672 | 992 |
CSS | 4 | 61 | 41 | 277 |
PO File | 1 | 76 | 78 | 174 |
Sass | 4 | 34 | 1 | 131 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 19.80 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 5 | 9.43% |
▷ Public methods | 51 | 96.23% |
▷ Protected methods | 2 | 3.77% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/supersized/nav-dot.png | 1.86KB | 0.98KB | ▼ 47.40% |
images/supersized/bg-hover.png | 0.94KB | 0.24KB | ▼ 74.79% |
images/overlay-grid.png | 2.74KB | 0.10KB | ▼ 96.37% |
images/supersized/thumb-forward.png | 2.07KB | 1.30KB | ▼ 36.92% |
images/overlay-vlines.png | 2.74KB | 0.10KB | ▼ 96.44% |