Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.82MB] [CPU: ▼35.15ms] Passed 4 tests
An overview of server-side resources used by DN Popup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.97 ▲1.99 |
Dashboard /wp-admin | 3.14 ▼0.21 | 28.54 ▼29.17 |
Posts /wp-admin/edit.php | 3.14 ▼0.22 | 24.07 ▼23.94 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 26.01 ▼77.26 |
Media Library /wp-admin/upload.php | 3.14 ▼0.09 | 22.78 ▼10.24 |
DN Popup /wp-admin/options-general.php?page=dn_popup_manage | 3.14 | 23.70 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for DN Popup
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.19 ▼0.99 | 1.49 ▼0.25 | 37.88 ▼5.04 |
Dashboard /wp-admin | 2,207 ▲19 | 5.77 ▲0.87 | 100.99 ▼12.83 | 40.31 ▼1.02 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.14 ▲0.09 | 34.42 ▼5.14 | 34.34 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.22 ▲0.63 | 612.26 ▼64.46 | 50.43 ▼3.39 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.27 ▲0.07 | 96.84 ▼3.64 | 41.11 ▼4.58 |
DN Popup /wp-admin/options-general.php?page=dn_popup_manage | 1,601 | 6.55 | 125.57 | 61.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=dn_popup_manage
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/options-general.php?page=dn_popup_manage
- > User deprecated in wp-includes/functions.php+5453
Function the_editor is deprecated since version 3.3.0! Use wp_editor() instead.
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dn-popup/dn-popup.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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Semplice/Simple popup), #2 (Personalizza/Customize popup), #3 (Principale/Main), #4 (Form), #5 (Impostazioni/Settings), #6 (Archivio/Archive)
dn-popup/dn-popup.php Passed 13 tests
The entry point to "DN Popup" version 1.2.2 is a PHP file that has certain tags in its header comment area
102 characters long description:
Un semplice popup personalizzabile. Simple popup customizable. Integration with DN Languages Multilang
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin626 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 32 | 469 |
PO File | 1 | 174 | 302 | 157 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 26 | |
▷ Named functions | 26 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 2.14KB | 1.11KB | ▼ 48.38% |