Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/popup-tb/inc/popuptb-content.php+3
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.94MB] [CPU: ▼51.86ms] Passed 4 tests
Analyzing server-side resources used by Popup TB
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.05 ▼1.41 | 5.36 ▼35.44 |
Dashboard /wp-admin | 2.07 ▼1.23 | 6.83 ▼43.23 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 8.50 ▼37.72 |
Add New Post /wp-admin/post-new.php | 2.07 ▼3.82 | 6.60 ▼89.04 |
Media Library /wp-admin/upload.php | 2.07 ▼1.16 | 6.91 ▼37.43 |
Popup TB /wp-admin/options-general.php?page=popuptb-options | 2.08 | 7.29 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Popup TB: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.21 ▼1.17 | 2.35 ▲0.35 | 42.82 ▼1.85 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▼0.05 | 96.00 ▼9.54 | 41.64 ▲2.14 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▼0.03 | 39.15 ▲4.18 | 35.85 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.36 ▲0.80 | 631.58 ▼70.68 | 62.37 ▲5.04 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.04 | 94.32 ▼12.16 | 42.63 ▼0.33 |
Popup TB /wp-admin/options-general.php?page=popuptb-options | 968 | 2.02 | 23.04 | 42.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/popup-tb/inc/popuptb-content.php+3
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 14 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=popuptb-options
- > Notice in wp-content/plugins/popup-tb/inc/popuptb-admin.php+55
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/popup-tb/inc/popuptb-admin.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/popup-tb/popup-tb.php:19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/popup-tb/inc/popuptb-content.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=popuptb-options
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=popuptb-options 187 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=popuptb-options
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=popuptb-options 189 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/options-general.php?page=popuptb-options
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=popuptb-options 191 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in popup-tb/assets to your readme.txt
popup-tb/popup-tb.php Passed 13 tests
This is the main PHP file of "Popup TB" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
31 characters long description:
Pop-up notification for website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected262 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 2 | 18 | 106 |
PO File | 2 | 42 | 85 | 101 |
CSS | 1 | 3 | 2 | 51 |
JavaScript | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 6 | |
▷ Named functions | 6 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin