Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼5.27ms] Passed 4 tests
An overview of server-side resources used by Social PopUP (email lightbox)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 34.83 ▼5.95 |
Dashboard /wp-admin | 3.53 ▲0.19 | 49.75 ▼11.67 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 45.43 ▼1.44 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 94.36 ▼2.03 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 40.46 ▲2.75 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
spu_settings |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social PopUP (email lightbox)
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,219 ▲473 | 19.99 ▲5.37 | 91.86 ▲90.29 | 54.38 ▲13.59 |
Dashboard /wp-admin | 2,220 ▲43 | 5.64 ▲0.01 | 86.68 ▼7.58 | 38.94 ▼6.09 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.13 ▲0.14 | 37.31 ▼5.22 | 30.93 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,560 ▲33 | 18.28 ▼4.71 | 614.42 ▼135.55 | 64.94 ▲7.26 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.18 ▼0.05 | 100.44 ▼18.75 | 45.73 ▼6.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- spu_settings
- widget_recent-posts
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/social-popup/admin/fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/social-popup/admin/header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/social-popup/admin/sidebar.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Screenshot #1 (Social PopUp) image missing
- Requires at least: Invalid plugin version format
social-popup/social-popup.php 69% from 13 tests
The main PHP script in "Social PopUP (email lightbox)" version 1.6.4.6 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 267 characters long)
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
Everything looks great! No dangerous files found in this plugin2,621 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 466 | 664 | 1,609 |
PO File | 3 | 264 | 267 | 676 |
JavaScript | 5 | 38 | 13 | 271 |
CSS | 2 | 0 | 0 | 65 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 96.33 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 5.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 8 | 13.79% |
▷ Public methods | 56 | 96.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.45% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin