Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▲3.32ms] Passed 4 tests
This is a short check of server-side resources used by Quick Adsense Mobile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 48.81 ▲10.38 |
Dashboard /wp-admin | 3.47 ▲0.16 | 55.10 ▲8.81 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.73 ▲4.66 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 92.53 ▼4.78 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 41.26 ▲4.57 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 46 new options
New WordPress options |
---|
Par1Nup |
AdsAlign10 |
AdsMargin8 |
AdsAlign9 |
BegnAds |
Img1Rnd |
AdsMargin5 |
db_upgraded |
LapaRnd |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Adsense Mobile
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.79 ▲0.62 | 2.48 ▲0.59 | 42.72 ▲2.32 |
Dashboard /wp-admin | 2,216 ▲28 | 4.85 ▼0.03 | 97.26 ▼8.77 | 42.85 ▼4.07 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▼0.00 | 35.56 ▼3.48 | 31.97 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,539 ▼3 | 23.35 ▲5.00 | 672.50 ▲28.05 | 59.10 ▲7.91 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.22 ▲0.02 | 97.56 ▼10.12 | 44.36 ▼1.94 |
Quick Adsense mobile /wp-admin/quick-adsense-mobile.php | 26 | 0.44 | 0.16 | 13.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 46 options
- Img1Rnd
- Par2Nup
- LapaRnd
- QckTags
- widget_recent-comments
- EndiRnd
- Par1Nup
- AdsDisp
- MoreRnd
- AdsAlign7
- ...
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/quick-adsense-mobile.php
- > Network (severe)
wp-admin/quick-adsense-mobile.php - Failed to load resource: the server responded with a status of 404 (Not 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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
quick-adsense-mobile/quick-adsense-mobile.php Passed 13 tests
"Quick Adsense Mobile" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
111 characters long description:
Quick Adsense Mobile offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin800 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 45 | 800 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.36MB with 0.27MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 114.84KB | 26.08KB | ▼ 77.29% |
screenshot-2.png | 251.56KB | 67.23KB | ▼ 73.28% |