Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.49ms] Passed 4 tests
This is a short check of server-side resources used by CB MailChimp Popup Subscriber
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 47.71 ▲10.17 |
Dashboard /wp-admin | 3.40 ▲0.05 | 45.71 ▼13.28 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 48.27 ▼3.00 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 81.21 ▼24.14 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.30 ▲2.45 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CB MailChimp Popup Subscriber
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,008 ▲262 | 13.43 ▼0.90 | 9.37 ▲7.78 | 36.90 ▼0.87 |
Dashboard /wp-admin | 2,203 ▲29 | 5.59 ▼0.03 | 90.48 ▼9.99 | 38.11 ▼4.10 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.99 ▼0.04 | 39.14 ▲2.84 | 35.56 ▲6.49 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.22 ▲0.09 | 683.75 ▲14.23 | 57.91 ▼1.28 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.22 ▲0.04 | 98.83 ▲1.43 | 44.28 ▼0.21 |
CB Popup Subscriber /wp-admin/cb_popup_sub.php | 26 | 0.42 | 0.09 | 14.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/cb_popup_sub.php
- > Network (severe)
wp-admin/cb_popup_sub.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: Add a description for screenshot #3 in cb-popup-subscriber/assets to your readme.txt
- Screenshots: Please add an image for screenshot #2 (Looking two)
cb-popup-subscriber/config.php 92% from 13 tests
This is the main PHP file of "CB MailChimp Popup Subscriber" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("cb-popup-subscriber.php" instead of "config.php")
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
Success! There were no dangerous files found in this plugin576 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 31 | 3 | 271 |
PHP | 5 | 146 | 67 | 259 |
JavaScript | 3 | 21 | 8 | 45 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin