Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.28ms] Passed 4 tests
A check of server-side resources used by AdPushup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 63.63 ▲13.14 |
Dashboard /wp-admin | 3.42 ▲0.02 | 34.85 ▼4.31 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 38.13 ▲0.07 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.07 | 97.95 ▼1,179.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 25.34 ▼1.28 |
AdPushup Settings /wp-admin/options-general.php?page=adpushup_settings_page | 3.27 | 22.36 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by AdPushup
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,949 ▲195 | 16.69 ▲0.98 | 13.48 ▲7.63 | 2.81 ▲0.33 |
Dashboard /wp-admin | 2,924 ▲66 | 6.15 ▼0.12 | 113.50 ▼15.22 | 166.13 ▲6.17 |
Posts /wp-admin/edit.php | 2,723 ▲29 | 3.24 ▼0.00 | 65.48 ▲2.27 | 150.19 ▲9.55 |
Add New Post /wp-admin/post-new.php | 1,798 ▲137 | 21.74 ▲5.06 | 442.69 ▲2.35 | 172.31 ▲20.09 |
Media Library /wp-admin/upload.php | 1,730 ▲29 | 5.62 ▲0.10 | 139.35 ▲7.73 | 194.36 ▲4.32 |
AdPushup Settings /wp-admin/options-general.php?page=adpushup_settings_page | 998 | 2.38 | 51.59 | 100.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/adpushup/misc.php
- > /wp-content/plugins/adpushup/settings.php
- > /wp-content/plugins/adpushup/injector.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
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #2, #4 in adpushup/assets to your readme.txt
adpushup/adpushup.php Passed 13 tests
The main PHP file in "AdPushup" ver. 0.9.6 adds more information about the plugin and also serves as the entry point for this plugin
33 characters long description:
Maximize your AdSense Ad Revenue!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions 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
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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% |