Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.48ms] Passed 4 tests
Server-side resources used by Add Widget After Content
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.44 ▼1.37 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.53 ▼0.44 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 46.48 ▼5.63 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.97 ▼6.49 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.08 ▲3.93 |
Widget After Content /wp-admin/themes.php?page=awac-options | 3.43 | 36.75 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
awac_extensions |
awac_priority |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Add Widget After Content
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲32 | 14.72 ▲0.32 | 1.72 ▼0.11 | 44.08 ▼0.39 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▼0.01 | 93.06 ▼3.09 | 40.48 ▼2.94 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.00 | 37.11 ▼3.28 | 34.68 ▼1.74 |
Add New Post /wp-admin/post-new.php | 6,225 ▲4,696 | 25.74 ▲2.53 | 871.07 ▲221.18 | 52.19 ▲1.28 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.16 ▼0.09 | 97.42 ▼1.53 | 41.01 ▼1.14 |
Widget After Content /wp-admin/themes.php?page=awac-options | 968 | 1.97 | 24.67 | 27.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/add-widget-after-content/partials/awac-options-display.php:17
- > 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 96% from 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
2 plugin tags: widget, posts
add-widget-after-content/add-widget-after-content.php 92% from 13 tests
The principal PHP file in "Add Widget After Content" v. 2.4.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,289 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 421 | 441 | 1,020 |
PO File | 3 | 90 | 96 | 269 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 53.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 5.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 44 | 88.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 12.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/awac-styles.png | 15.40KB | 6.47KB | ▼ 58.01% |
images/awac-controls.png | 12.12KB | 5.13KB | ▼ 57.70% |
images/awac-comments.png | 8.40KB | 3.81KB | ▼ 54.68% |
images/awac-plus.png | 11.10KB | 5.22KB | ▼ 52.96% |