Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.72MB] [CPU: ▼52.47ms] Passed 4 tests
A check of server-side resources used by AdsPlace'r - Ad Manager, Inserter, AdSense Ads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.27 ▼1.20 | 6.93 ▼35.25 |
Dashboard /wp-admin | 2.29 ▼1.02 | 9.32 ▼40.20 |
Posts /wp-admin/edit.php | 2.29 ▼1.07 | 8.87 ▼44.47 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.60 | 10.20 ▼89.94 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 9.71 ▼27.19 |
Instruction /wp-admin/admin.php?page=adsplacer_support | 2.29 | 9.44 |
Settings /wp-admin/admin.php?page=adsplacer | 2.29 | 9.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for AdsPlace'r - Ad Manager, Inserter, AdSense Ads
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.36 ▲0.03 | 1.94 ▲0.43 | 45.09 ▲1.86 |
Dashboard /wp-admin | 2,222 ▲48 | 5.63 ▲0.05 | 91.99 ▼1.32 | 37.87 ▼2.96 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.98 ▲0.04 | 39.19 ▼0.91 | 37.48 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6,272 ▲4,735 | 18.72 ▲0.69 | 921.63 ▲308.00 | 73.58 ▼8.53 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.25 ▲0.02 | 99.67 ▼2.09 | 42.67 ▲0.65 |
Instruction /wp-admin/admin.php?page=adsplacer_support | 864 | 2.00 | 25.64 | 31.02 |
Settings /wp-admin/admin.php?page=adsplacer | 4,181 | 17.51 | 507.83 | 77.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/adsplacer/adsplacer.php+45
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 36 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=adsplacer
- > Notice in wp-content/plugins/adsplacer/adsplacer.php+533
Trying to access array offset on value of type bool
- 66 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=adsplacer
- > Notice in wp-content/plugins/adsplacer/adsplacer.php+533
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/adsplacer/adsplacer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
adsplacer/adsplacer.php Passed 13 tests
The main file in "AdsPlace'r - Ad Manager, Inserter, AdSense Ads" v. 1.1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
80 characters long description:
Manage ad blocks in the articles separately for visitors to the PC and mobile OS
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin791 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 11 | 567 |
CSS | 1 | 20 | 0 | 125 |
PO File | 1 | 19 | 23 | 61 |
JavaScript | 1 | 7 | 0 | 38 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 53.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin