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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.18ms] Passed 4 tests
This is a short check of server-side resources used by Dyno Sections
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.15 ▼1.19 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.09 ▼2.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.08 ▼5.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.99 ▼7.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 42.32 ▲9.72 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Dyno Sections
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 13.32 ▼0.99 | 4.36 ▲2.18 | 43.97 ▼3.87 |
Dashboard /wp-admin | 2,221 ▲30 | 5.86 ▲0.95 | 100.36 ▼1.21 | 67.81 ▲25.59 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.01 ▲0.03 | 34.95 ▼5.17 | 31.49 ▼5.17 |
Add New Post /wp-admin/post-new.php | 1,679 ▲162 | 22.28 ▲4.62 | 764.45 ▲152.44 | 53.65 ▼12.50 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.14 ▼0.07 | 95.79 ▼5.43 | 65.19 ▲21.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
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)
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 fix 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/dyno-sections-dynamic-sections-based-on-get-or-post-parameters/dynosections.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: post, url parameters, ipn, get, dynamic sections
dyno-sections-dynamic-sections-based-on-get-or-post-parameters/dynosections.php 85% from 13 tests
"Dyno Sections" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dyno-sections-dynamic-sections-based-on-get-or-post-parameters.php" instead of "dynosections.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 186 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin77 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 21 | 77 |
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.25 |
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
5 PNG files occupy 0.19MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dynosectionstopbanner.png | 66.99KB | 20.91KB | ▼ 68.79% |
dynosectionsicon.png | 1.64KB | 0.53KB | ▼ 67.70% |
dynosectionsprobanner.png | 81.86KB | 24.29KB | ▼ 70.33% |
logo.png | 27.72KB | 9.43KB | ▼ 65.97% |
slogo.PNG | 17.13KB | 6.82KB | ▼ 60.17% |