Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.52ms] Passed 4 tests
An overview of server-side resources used by AdPushup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 46.98 ▲2.06 |
Dashboard /wp-admin | 3.35 ▲0.00 | 46.71 ▼16.38 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 47.45 ▼3.54 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.06 ▼8.20 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.76 ▲4.19 |
AdPushup Settings /wp-admin/options-general.php?page=adpushup_settings_page | 3.24 | 33.21 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
AdPushup: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲199 | 14.74 ▲0.39 | 10.48 ▲8.70 | 43.64 ▲5.18 |
Dashboard /wp-admin | 2,220 ▲43 | 5.53 ▼0.04 | 88.56 ▼4.11 | 43.57 ▼2.51 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.01 ▲0.06 | 36.25 ▲0.11 | 35.46 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.19 ▲0.26 | 622.49 ▲2.40 | 77.11 ▲13.13 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.18 ▼0.08 | 103.99 ▼2.53 | 43.03 ▼0.47 |
AdPushup Settings /wp-admin/options-general.php?page=adpushup_settings_page | 805 | 1.99 | 25.63 | 36.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/adpushup/injector.php
- > /wp-content/plugins/adpushup/settings.php
- > /wp-content/plugins/adpushup/misc.php
- > /wp-content/plugins/adpushup/adpushup.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots need descriptions #2, #4 in adpushup/assets to your readme.txt
adpushup/adpushup.php Passed 13 tests
The entry point to "AdPushup" version 0.9.6 is a PHP file that has certain tags in its header comment area
33 characters long description:
Maximize your AdSense Ad Revenue!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected206 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 58 | 41 | 206 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
800x600 plugin banner.png | 74.90KB | 26.83KB | ▼ 64.18% |