Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲305.74ms] 75% from 4 tests
A check of server-side resources used by ADR Promotion Recommendations
It is recommended to improve the following
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 305.74ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 2,923.37 ▲2,882.63 |
Dashboard /wp-admin | 3.33 ▼0.02 | 51.07 ▼14.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.29 ▼2.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 1,344.52 ▲1,236.54 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.26 ▲3.23 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
adrcdp_publisher |
adrcdp_publisher_auth |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_adrcdp_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by ADR Promotion Recommendations
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,779 ▲18 | 14.37 ▼0.02 | 1.71 ▲0.04 | 36.96 ▼4.22 |
Dashboard /wp-admin | 2,189 ▲15 | 5.53 ▼0.13 | 84.89 ▼7.20 | 36.75 ▼7.02 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.96 ▼0.14 | 39.20 ▲3.68 | 35.03 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.07 ▼0.16 | 650.16 ▲4.55 | 54.12 ▼0.31 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.26 ▲0.08 | 97.52 ▼6.36 | 42.86 ▼1.53 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_adrcdp_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/adr-promotion-recommendations/adr-promotion-recommendations.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: keywords, promotion, ad tags, meta, description...
adr-promotion-recommendations/adr-promotion-recommendations.php 92% from 13 tests
The entry point to "ADR Promotion Recommendations" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 166 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected75 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 22 | 75 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 2 | 50.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
There were not PNG files found in your plugin