Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.39ms] Passed 4 tests
An overview of server-side resources used by Latest Post Shortcode Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.97 ▼5.93 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.05 ▼9.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.26 ▲0.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.36 ▲1.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.52 ▲4.78 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Latest Post Shortcode Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.29 ▼1.01 | 1.93 ▲0.26 | 39.73 ▼6.59 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲1.01 | 113.27 ▼2.86 | 37.79 ▼4.37 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.05 ▲0.08 | 38.72 ▼1.02 | 33.95 ▼0.50 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.40 ▲5.94 | 642.68 ▼43.40 | 57.60 ▲3.38 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.02 | 100.17 ▲0.73 | 46.72 ▲3.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/latest-post-shortcode-slider-extension/latest-post-shortcode-slider.php:73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Requires at least: Invalid plugin version format
latest-post-shortcode-slider-extension/latest-post-shortcode-slider.php 85% from 13 tests
This is the main PHP file of "Latest Post Shortcode Slider" version 2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 ("latest-post-shortcode-slider-extension.php" instead of "latest-post-shortcode-slider.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 190 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
Good job! No executable or dangerous file extensions detected2,308 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 106 | 559 | 1,358 |
Markdown | 1 | 95 | 0 | 483 |
PHP | 1 | 28 | 68 | 256 |
CSS | 2 | 41 | 22 | 186 |
JSON | 1 | 0 | 0 | 25 |
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.48 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 5.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
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
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 |
assets/third-party/jquery.bxslider/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |