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.02MB] [CPU: ▲2.18ms] Passed 4 tests
A check of server-side resources used by AdsMiddle
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 50.57 ▲4.97 |
Dashboard /wp-admin | 3.33 ▲0.02 | 50.19 ▼0.91 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 57.58 ▲5.99 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 106.03 ▲8.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.97 ▼1.34 |
AdsMiddle /wp-admin/options-general.php?page=wp_addmidle | 3.22 | 31.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AdsMiddle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.38 ▼0.11 | 2.14 ▼0.24 | 40.18 ▼5.38 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▲0.10 | 99.33 ▼1.64 | 39.62 ▲0.32 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.01 ▼0.00 | 36.75 ▼1.86 | 34.80 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.33 ▲0.29 | 658.71 ▲17.04 | 49.83 ▼19.60 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.07 ▼0.19 | 98.78 ▼5.41 | 47.48 ▼5.98 |
AdsMiddle /wp-admin/options-general.php?page=wp_addmidle | 848 | 1.97 | 26.46 | 29.38 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
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 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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adsmiddle/adsmiddle.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-4.png) image not found
- Screenshots: No descriptions were found for these screenshots #3, #4 in adsmiddle/assets to your readme.txt
adsmiddle/adsmiddle.php Passed 13 tests
"AdsMiddle" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
53 characters long description:
Simple plugin para agregar adsense al medio del post.
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
There were no executable files found in this plugin94 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 11 | 94 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin