Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼295.03ms] Passed 4 tests
Server-side resources used by Ads-Sponsors-Donations Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 54.37 ▲4.69 |
Dashboard /wp-admin | 3.44 ▲0.03 | 31.60 ▼1.53 |
Posts /wp-admin/edit.php | 3.67 ▲0.03 | 36.51 ▲0.90 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.06 | 95.52 ▼1,180.17 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 24.98 ▲0.70 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_adsauce_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Ads-Sponsors-Donations Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.84 ▲0.15 | 6.52 ▲0.69 | 2.17 ▼0.27 |
Dashboard /wp-admin | 2,888 ▲30 | 6.10 ▼0.10 | 115.61 ▼19.32 | 155.48 ▼8.37 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.24 ▼0.00 | 61.27 ▼0.89 | 140.58 ▼1.17 |
Add New Post /wp-admin/post-new.php | 1,773 ▲113 | 21.74 ▲4.56 | 459.85 ▲72.55 | 158.00 ▲1.52 |
Media Library /wp-admin/upload.php | 1,701 ▲6 | 5.46 ▼0.06 | 135.85 ▼20.39 | 187.48 ▼5.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_adsauce_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adsauce-service-widget-customizer/AdSaucePlugin.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: adsauce, ads, advertizing, marketing
adsauce-service-widget-customizer/AdSaucePlugin.php 85% from 13 tests
The main file in "Ads-Sponsors-Donations Manager" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 350 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adsauce-service-widget-customizer.php" instead of "AdSaucePlugin.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 plugin898 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 117 | 18 | 499 |
PHP | 1 | 137 | 29 | 399 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin