Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.13MB] [CPU: ▼18.59ms] Passed 4 tests
A check of server-side resources used by Simple CallToAction PopUp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.45 ▲0.38 |
Dashboard /wp-admin | 3.16 ▼0.14 | 30.78 ▼21.46 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 33.83 ▼17.65 |
Add New Post /wp-admin/post-new.php | 5.55 ▼0.34 | 71.99 ▼27.12 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 28.50 ▼8.11 |
All Popup /wp-admin/edit.php?post_type=simple_action_popup | 3.28 | 31.37 |
Add New /wp-admin/post-new.php?post_type=simple_action_popup | 3.38 | 44.63 |
General /wp-admin/admin.php?page=simple-calltoaction-popup | 3.30 | 33.76 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Simple CallToAction PopUp: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲138 | 13.43 ▼0.94 | 10.74 ▲8.33 | 41.85 ▼7.44 |
Dashboard /wp-admin | 2,225 ▲48 | 5.58 ▲0.05 | 81.34 ▼18.65 | 43.97 ▲2.63 |
Posts /wp-admin/edit.php | 2,127 ▲30 | 1.97 ▼0.06 | 39.52 ▲1.00 | 36.35 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,548 ▲13 | 23.12 ▲4.71 | 630.84 ▼19.68 | 58.73 ▼6.22 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.24 ▲0.05 | 99.85 ▼7.59 | 41.09 ▼0.94 |
All Popup /wp-admin/edit.php?post_type=simple_action_popup | 1,091 | 1.96 | 30.58 | 31.97 |
Add New /wp-admin/post-new.php?post_type=simple_action_popup | 1,544 | 3.35 | 71.26 | 37.76 |
General /wp-admin/admin.php?page=simple-calltoaction-popup | 857 | 1.93 | 27.13 | 27.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=simple_action_popup
- > Notice in wp-content/plugins/simple-calltoaction-popup/includes/admin/admin-settings.class.php+227
Undefined index: page
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Donate link: Invalid url: "#"
simple-calltoaction-popup/simple-call-to-action-popup.php 92% from 13 tests
This is the main PHP file of "Simple CallToAction PopUp" version 0.3.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: Name the main plugin file the same as the plugin slug ("simple-calltoaction-popup.php" instead of "simple-call-to-action-popup.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin778 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 107 | 32 | 456 |
CSS | 2 | 38 | 0 | 228 |
JavaScript | 2 | 11 | 0 | 94 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 9.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 1 | 4.17% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin