Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼141.02ms] Passed 4 tests
Analyzing server-side resources used by Dynamically Dynamic Sidebar
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.08 | 44.27 ▲0.56 |
Dashboard /wp-admin | 3.15 ▲0.10 | 57.98 ▲3.82 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 52.82 ▼0.31 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 100.60 ▼566.53 |
Media Library /wp-admin/upload.php | 3.10 ▲0.09 | 40.75 ▲2.21 |
Dynamically dynamic sidebar /wp-admin/themes.php?page=dynamically-dynamic-sidebar | 3.04 | 33.44 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Dynamically Dynamic Sidebar
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,694 ▲98 | 15.82 ▲0.27 | 11.89 ▼2.53 | 50.39 ▲1.01 |
Dashboard /wp-admin | 2,972 ▲38 | 5.94 ▼0.11 | 148.03 ▼16.52 | 120.30 ▲5.02 |
Posts /wp-admin/edit.php | 2,757 ▲18 | 2.72 ▲0.02 | 91.93 ▲16.08 | 91.01 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.46 ▼0.20 | 446.05 ▲19.38 | 115.40 ▼2.41 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▼0.03 | 193.70 ▲15.77 | 128.04 ▲2.33 |
Dynamically dynamic sidebar /wp-admin/themes.php?page=dynamically-dynamic-sidebar | 1,196 | 2.09 | 55.92 | 88.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=dynamically-dynamic-sidebar
- > Warning in wp-content/plugins/dynamically-dynamic-sidebar/inc/admin-main.php+177
Invalid argument supplied for foreach()
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 items
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/inc/admin-post.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/main.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/dynamically-dynamic-sidebar.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/admin-post.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/inc/admin-main.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/admin-term.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/admin-main.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/inc/main.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamically-dynamic-sidebar/inc/admin-term.php:9
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/dynamically-dynamic-sidebar/dynamically-dynamic-sidebar.php on line 13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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
3 plugin tags: widget area, sidebar, widget
dynamically-dynamic-sidebar/dynamically-dynamic-sidebar.php 92% from 13 tests
Analyzing the main PHP file in "Dynamically Dynamic Sidebar" version 0.7
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin597 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 218 | 216 | 556 |
Markdown | 2 | 28 | 0 | 41 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin