Benchmarks
Plugin footprint Passed 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.02MB] [CPU: ▼142.11ms] Passed 4 tests
Analyzing server-side resources used by PopUp Anyway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 30.48 ▼4.59 |
Dashboard /wp-admin | 3.08 ▲0.03 | 41.77 ▲1.57 |
Posts /wp-admin/edit.php | 3.13 ▲0.03 | 44.54 ▼0.70 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 86.58 ▼564.73 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 40.90 ▲5.56 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
obi_popup_anyway_cookie |
Browser metrics Passed 4 tests
Checking browser requirements for PopUp Anyway
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.93 ▲0.31 | 7.20 ▼1.36 | 46.10 ▼0.84 |
Dashboard /wp-admin | 2,964 ▲30 | 5.83 ▼0.15 | 141.68 ▼7.61 | 129.86 ▲11.01 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▲0.00 | 68.16 ▼9.47 | 83.73 ▼16.17 |
Add New Post /wp-admin/post-new.php | 1,683 ▼2,041 | 16.22 ▲1.01 | 419.65 ▼31.83 | 123.76 ▲12.01 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.04 ▲0.03 | 163.75 ▲2.98 | 128.58 ▲3.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/popup-anyway/popup-anyway.php
- > /wp-content/plugins/popup-anyway/uninstall.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (33 tag instead of maximum 10); only the first 5 tags are used in your directory listing
popup-anyway/popup-anyway.php 92% from 13 tests
The primary PHP file in "PopUp Anyway" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 165 characters long)
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
Everything looks great! No dangerous files found in this plugin124 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 53 | 27 | 124 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin