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.03MB] [CPU: ▼6.17ms] Passed 4 tests
This is a short check of server-side resources used by Conditional Popup creator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.36 ▼5.39 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.42 ▼5.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.92 ▼13.61 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 98.11 ▼0.48 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.65 ▲4.69 |
All Popups /wp-admin/edit.php?post_type=popups_creator | 3.41 | 46.47 |
Add New /wp-admin/post-new.php?post_type=popups_creator | 3.21 | 37.01 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Conditional Popup creator: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲185 | 13.89 ▼0.30 | 8.56 ▲6.45 | 36.71 ▼14.86 |
Dashboard /wp-admin | 2,233 ▲45 | 4.87 ▼1.01 | 113.44 ▼0.34 | 40.48 ▼6.69 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.00 ▲0.01 | 42.46 ▲3.05 | 41.54 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,556 ▲22 | 23.06 ▼0.18 | 655.26 ▼19.75 | 65.38 ▲6.59 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.20 ▼0.05 | 116.09 ▲15.27 | 51.13 ▲8.25 |
All Popups /wp-admin/edit.php?post_type=popups_creator | 1,247 | 3.31 | 51.83 | 28.09 |
Add New /wp-admin/post-new.php?post_type=popups_creator | 2,296 | 7.76 | 206.38 | 73.16 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=popups_creator
- > User notice in wp-includes/functions.php+5905
Function map_meta_cap was called incorrectly. When checking for the edit_post capability, you must always check it against a specific post. Please see Debugging in WordPress for more information. (This message was added in version 6.1.0.)
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/conditional-popup-creator/wp-metabox-constructor-class/demo.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-popup-creator/init.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI found ("")
conditional-popup-creator/init.php 77% from 13 tests
The main PHP file in "Conditional Popup creator" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("conditional-popup-creator.php" instead of "init.php")
- Domain Path: The domain path folder does not exist ("/languages/")
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
Success! There were no dangerous files found in this plugin908 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 99 | 117 | 646 |
CSS | 3 | 25 | 4 | 138 |
JavaScript | 3 | 41 | 9 | 121 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 32.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin