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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.23ms] Passed 4 tests
Server-side resources used by AdNgin-Adsense Revenue Optimization
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.14 ▼2.32 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.77 ▼0.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.76 ▼0.62 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.43 ▼21.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.47 ▼0.09 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by AdNgin-Adsense Revenue Optimization
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 14.83 ▲0.47 | 1.79 ▼0.02 | 43.46 ▲4.71 |
Dashboard /wp-admin | 2,221 ▲30 | 5.84 ▲0.95 | 98.89 ▼7.15 | 73.81 ▲31.52 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.06 | 33.88 ▼9.06 | 33.89 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.19 ▲4.74 | 756.93 ▲140.40 | 63.41 ▲9.57 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.19 ▼0.08 | 92.65 ▼6.89 | 76.12 ▲33.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/adngin-your-adsense-your-traffic-maximized-revenue-for-free/adngin.plugin.php:57
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/adngin-your-adsense-your-traffic-maximized-revenue-for-free/adngin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adngin-your-adsense-your-traffic-maximized-revenue-for-free/adngin.admin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/adngin-your-adsense-your-traffic-maximized-revenue-for-free/adngin.admin.page.php:104
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
adngin-your-adsense-your-traffic-maximized-revenue-for-free/adngin.php 92% from 13 tests
The main PHP file in "AdNgin-Adsense Revenue Optimization" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("adngin-your-adsense-your-traffic-maximized-revenue-for-free.php" instead of "adngin.php")
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
Everything looks great! No dangerous files found in this plugin421 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 42 | 16 | 421 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
7 compressed PNG files occupy 0.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/video_img.png | 48.80KB | 50.85KB | 0.00% |
img/key.png | 0.48KB | 0.49KB | 0.00% |
img/drag_n_drop.png | 10.04KB | 10.94KB | 0.00% |
img/traffic_icon.png | 0.35KB | 0.35KB | 0.00% |
img/icon.png | 0.49KB | 0.50KB | 0.00% |