Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼0.44ms] Passed 4 tests
This is a short check of server-side resources used by Wishful Ad Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 45.71 ▲1.63 |
Dashboard /wp-admin | 3.54 ▲0.24 | 59.36 ▲6.50 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 51.70 ▼4.82 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 94.19 ▲0.61 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 38.25 ▲0.82 |
New Ad /wp-admin/post-new.php?post_type=wishful-ads | 3.53 | 47.99 |
Settings /wp-admin/edit.php?post_type=wishful-ads&page=wishfuladmngr-settings | 3.44 | 36.83 |
All Ads /wp-admin/edit.php?post_type=wishful-ads | 3.52 | 39.93 |
Header/Footer Scripts /wp-admin/edit.php?post_type=wishful-ads&page=wishfuladmngr-header-footer-scripts | 3.45 | 37.33 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_wishful_ad_manager_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wishful Ad Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲194 | 15.50 ▲1.12 | 29.45 ▲27.87 | 42.88 ▼3.21 |
Dashboard /wp-admin | 2,234 ▲57 | 5.56 ▼0.08 | 132.55 ▲42.37 | 52.94 ▲5.34 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.05 ▲0.06 | 34.31 ▼1.29 | 33.71 ▼2.41 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.06 ▼0.46 | 690.30 ▼12.78 | 59.00 ▲1.33 |
Media Library /wp-admin/upload.php | 1,433 ▲30 | 4.20 ▼0.10 | 102.65 ▼2.76 | 43.26 ▲0.36 |
New Ad /wp-admin/post-new.php?post_type=wishful-ads | 2,137 | 4.89 | 109.41 | 36.26 |
Settings /wp-admin/edit.php?post_type=wishful-ads&page=wishfuladmngr-settings | 907 | 2.75 | 58.42 | 25.52 |
All Ads /wp-admin/edit.php?post_type=wishful-ads | 1,180 | 3.03 | 42.07 | 30.54 |
Header/Footer Scripts /wp-admin/edit.php?post_type=wishful-ads&page=wishfuladmngr-header-footer-scripts | 1,124 | 5.24 | 98.50 | 36.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 did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_wishful_ad_manager_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 25 tag instead of maximum 10
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wishful-ad-manager ===
)
wishful-ad-manager/wishful-ad-manager.php Passed 13 tests
"Wishful Ad Manager" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
52 characters long description:
Your best advertisement management WordPress plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,324 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 360 | 442 | 1,159 |
JavaScript | 2 | 37 | 40 | 121 |
CSS | 1 | 6 | 2 | 44 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 11.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 9 | 18.37% |
▷ Public methods | 36 | 73.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 26.53% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin