Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.01ms] Passed 4 tests
A check of server-side resources used by VI: Include Post By
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.17 ▼1.94 |
Dashboard /wp-admin | 3.39 ▲0.05 | 52.80 ▼12.78 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 54.30 ▲2.62 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 99.99 ▼0.99 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.50 ▼4.34 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
VI: Include Post By: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲151 | 13.41 ▼0.95 | 7.98 ▲6.20 | 42.80 ▼0.74 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.08 | 92.96 ▼0.21 | 42.99 ▲3.83 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.09 | 38.86 ▲3.53 | 36.70 ▼1.37 |
Add New Post /wp-admin/post-new.php | 1,526 ▼10 | 23.16 ▲4.96 | 618.69 ▼33.66 | 56.76 ▼10.88 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▼0.00 | 95.01 ▼11.44 | 42.60 ▼0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
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
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vi-include-post-by/vi_include_post_by.php:920
- > 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 errors were detected
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
6 plugin tags: vars, include, shortcode, options, params...
vi-include-post-by/vi_include_post_by.php 92% from 13 tests
"VI: Include Post By" version 0.4.200706's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("vi-include-post-by.php" instead of "vi_include_post_by.php")
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
Success! There were no dangerous files found in this plugin706 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 126 | 246 | 555 |
Markdown | 1 | 30 | 0 | 103 |
CSS | 1 | 11 | 34 | 38 |
JavaScript | 1 | 6 | 14 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 116.00 |
▷ Minimum class complexity | 116.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 7.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.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 | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 3 | 17.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 82.35% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
default-image.png | 6.14KB | 6.12KB | 0.37% |