Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.12ms] Passed 4 tests
A check of server-side resources used by EthereumAds - Earn Cryptocurrency with Banner Ads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.53 ▼8.52 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.23 ▼2.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.22 ▼3.89 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.36 ▼1.80 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.13 ▲6.37 |
EthereumAds /wp-admin/options-general.php?page=ethereumads-settings-page | 3.19 | 30.30 |
Server storage [IO: ▲0.02MB] [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: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_ethereumads_widget |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
ethereumads_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EthereumAds - Earn Cryptocurrency with Banner Ads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.15 ▼1.17 | 5.02 ▲3.31 | 39.90 ▼5.11 |
Dashboard /wp-admin | 2,219 ▲34 | 4.78 ▼1.08 | 109.69 ▲3.36 | 41.96 ▼6.13 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.05 ▼0.00 | 40.19 ▼0.18 | 35.71 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 18.22 ▲0.64 | 646.45 ▼1.20 | 65.35 ▲12.15 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.17 ▼0.05 | 99.73 ▲0.82 | 41.50 ▼1.82 |
EthereumAds /wp-admin/options-general.php?page=ethereumads-settings-page | 840 | 2.05 | 24.28 | 29.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_ethereumads_widget
- widget_theysaidso_widget
- ethereumads_options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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 server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=ethereumads-settings-page
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ethereumads-settings-page
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ethereumads/ethereumads.php
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: banner, ethereum, advertising, banner advertising, bitcoin...
ethereumads/ethereumads.php 92% from 13 tests
Analyzing the main PHP file in "EthereumAds - Earn Cryptocurrency with Banner Ads" version 1.0.1
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 265 characters long)
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
Everything looks great! No dangerous files found in this plugin429 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 133 | 108 | 429 |
PHP code Passed 2 tests
This is a very shot 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.43 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin