Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲1.53ms] Passed 4 tests
An overview of server-side resources used by LRH-Shortcode List
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.68 ▲1.19 |
Dashboard /wp-admin | 3.36 ▲0.06 | 53.36 ▲2.38 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 55.68 ▲8.45 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.79 ▼2.06 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.25 ▲4.60 |
Shortcodes /wp-admin/options-general.php?page=lrh-shortcode-list/lrh_shortcode_manager_options.inc.php | 3.28 | 34.08 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/lrh-shortcode-list/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for LRH-Shortcode List
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 13.19 ▼1.16 | 1.81 ▲0.19 | 43.42 ▼2.21 |
Dashboard /wp-admin | 2,229 ▲26 | 5.89 ▲1.01 | 107.62 ▼4.38 | 37.13 ▼8.62 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.06 ▲0.03 | 36.91 ▼0.96 | 38.68 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,748 ▲203 | 20.37 ▼2.78 | 663.40 ▼39.38 | 64.30 ▲6.45 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.23 ▲0.04 | 104.53 ▼2.81 | 44.92 ▼2.63 |
Shortcodes /wp-admin/options-general.php?page=lrh-shortcode-list/lrh_shortcode_manager_options.inc.php | 1,092 | 2.05 | 25.37 | 36.46 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 3× 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/lrh-shortcode-list/lrh_shortcode_manager.inc.php:279
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/lrh-shortcode-list/lrh_shortcode_manager_options.inc.php:129
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lrh-shortcode-list/lrh_shortcode_wpstd.inc.php:10
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tested up to: The plugin version is formatted incorrectly
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The metabox in the Edit Post.), #2 (The shortcodes manager.), #3 (The metabox showing additional information.)
lrh-shortcode-list/lrh_shortcodelist.php 92% from 13 tests
The principal PHP file in "LRH-Shortcode List" v. 1.2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("lrh-shortcode-list.php" instead of "lrh_shortcodelist.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
Good job! No executable or dangerous file extensions detected457 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 102 | 210 | 380 |
CSS | 1 | 9 | 11 | 48 |
JavaScript | 1 | 3 | 4 | 29 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
PNG images were not found in this plugin