Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.56ms] Passed 4 tests
An overview of server-side resources used by Below Post Title and Below Post Content Ads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.14 ▼1.48 |
Dashboard /wp-admin | 3.32 ▼0.03 | 54.76 ▼13.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.16 ▼6.35 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.09 ▼21.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.82 ▼1.26 |
Post Widget Settings /wp-admin/options-general.php?page=my-html-post-Widgets | 3.21 | 32.96 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Below Post Title and Below Post Content Ads
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 13.36 ▼1.23 | 1.77 ▼0.36 | 43.49 ▼0.67 |
Dashboard /wp-admin | 2,222 ▲16 | 5.86 ▲0.95 | 102.84 ▼9.23 | 39.87 ▼3.09 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.06 ▲0.05 | 34.27 ▼1.57 | 32.53 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,529 ▼2 | 17.77 ▼5.58 | 671.55 ▼27.86 | 59.33 ▲4.89 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.23 ▼0.06 | 113.36 ▼3.88 | 46.88 ▼1.08 |
Post Widget Settings /wp-admin/options-general.php?page=my-html-post-Widgets | 810 | 2.01 | 21.96 | 29.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/my-html-post-widgets/my-html-post-widgets.php:16
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: ads, posts, below post title, google adsense, html widget box...
my-html-post-widgets/my-html-post-widgets.php Passed 13 tests
The primary PHP file in "Below Post Title and Below Post Content Ads" version 1.9 is used by WordPress to initiate all plugin functionality
98 characters long description:
Simple Plugin for insert your HTML Widgets and Ads on the Below Post Title and Below Post content.
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
Everything looks great! No dangerous files found in this plugin74 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 22 | 23 | 73 |
CSS | 1 | 1 | 3 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 9 | |
▷ Named functions | 9 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin