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.05MB] [CPU: ▼1.39ms] Passed 4 tests
An overview of server-side resources used by PopUp Everything
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.35 ▼4.27 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.61 ▲1.80 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 54.58 ▲0.22 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 99.19 ▼2.44 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.60 ▲0.95 |
Popup Everything /wp-admin/options-general.php?page=popup-everything | 3.24 | 34.95 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
PopUp Everything: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.27 ▼0.36 | 1.85 ▼0.11 | 43.54 ▼0.30 |
Dashboard /wp-admin | 2,196 ▲19 | 5.59 ▲0.01 | 91.25 ▼2.63 | 41.12 ▲2.19 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.94 ▼0.03 | 39.61 ▲3.79 | 35.11 ▲2.75 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.54 ▲5.15 | 631.62 ▲21.47 | 56.40 ▼18.56 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.08 ▼0.13 | 97.92 ▼11.74 | 44.31 ▼1.56 |
Popup Everything /wp-admin/options-general.php?page=popup-everything | 896 | 2.00 | 26.12 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× 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/popup-everything/includes/template.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/popup-everything/includes/options.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/popup-everything/popup-everything.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
popup-everything/popup-everything.php Passed 13 tests
The primary PHP file in "PopUp Everything" version 1.0.1 is used by WordPress to initiate all plugin functionality
134 characters long description:
PopUp Everything plugin lets you display content within a little area on your website. Great for contact information or contact forms.
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
There were no executable files found in this plugin777 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 282 |
Sass | 2 | 29 | 17 | 218 |
PHP | 3 | 34 | 63 | 193 |
PO File | 1 | 38 | 58 | 53 |
SVG | 1 | 0 | 0 | 19 |
Ruby | 1 | 7 | 12 | 11 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 files were detected