Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.51ms] Passed 4 tests
Analyzing server-side resources used by Related Post Shortcode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 38.81 ▼2.18 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.03 ▼1.14 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.85 ▲1.96 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 85.84 ▼10.81 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.16 ▲0.10 |
Related Post Shortcode /wp-admin/options-general.php?page=related-post-shortcode | 3.23 | 32.53 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Related Post Shortcode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.31 ▼1.01 | 1.93 ▲0.16 | 42.50 ▼6.98 |
Dashboard /wp-admin | 2,212 ▲24 | 5.85 ▲1.01 | 99.82 ▼16.23 | 43.83 ▼3.50 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.05 ▲0.03 | 34.93 ▲0.66 | 32.10 ▼6.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.08 ▼0.20 | 643.93 ▼26.46 | 54.19 ▼13.89 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.21 ▲0.05 | 98.50 ▼0.34 | 42.31 ▼0.53 |
Related Post Shortcode /wp-admin/options-general.php?page=related-post-shortcode | 807 | 2.06 | 29.53 | 33.27 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/related-post-shortcode/related-post-shortcode.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/related-post-shortcode/options.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=related-post-shortcode
- > Network (severe)
wp-content/plugins/related-post-shortcode/styles.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in related-post-shortcode/assets to your readme.txt
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== related-post-shortcode ===
)
related-post-shortcode/related-post-shortcode.php Passed 13 tests
The entry point to "Related Post Shortcode" version 1.2 is a PHP file that has certain tags in its header comment area
94 characters long description:
Insert a related article section in your Wordpress content with a new button on TinyMCE editor
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected473 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 24 | 0 | 155 |
PHP | 2 | 39 | 16 | 138 |
PO File | 2 | 20 | 36 | 78 |
JavaScript | 1 | 22 | 1 | 53 |
CSS | 1 | 1 | 0 | 47 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 12 | |
▷ Named functions | 12 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
related-post-shortcode-editor-icon.png | 1.21KB | 0.28KB | ▼ 76.56% |