Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.34MB] [CPU: ▼5.69ms] Passed 4 tests
A check of server-side resources used by Post Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 38.74 ▲2.71 |
Dashboard /wp-admin | 3.66 ▲0.31 | 47.30 ▼14.44 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 51.21 ▲2.63 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 86.27 ▼12.60 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 37.12 ▲1.67 |
All Slider /wp-admin/edit.php?post_type=tppostpro | 3.63 | 41.29 |
Add Post Slider /wp-admin/post-new.php?post_type=tppostpro | 3.63 | 48.48 |
Server storage [IO: ▲1.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,037 ▲291 | 14.17 ▼0.21 | 6.55 ▲4.86 | 47.06 ▲5.13 |
Dashboard /wp-admin | 2,274 ▲86 | 5.32 ▲0.41 | 112.52 ▲10.85 | 38.87 ▼5.56 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.47 ▲0.49 | 43.72 ▲6.23 | 34.59 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,581 ▲52 | 23.51 ▲0.16 | 638.75 ▼29.39 | 34.09 ▼19.17 |
Media Library /wp-admin/upload.php | 1,466 ▲81 | 4.51 ▲0.31 | 91.20 ▼9.89 | 42.85 ▼0.98 |
All Slider /wp-admin/edit.php?post_type=tppostpro | 1,139 | 2.38 | 34.79 | 29.95 |
Add Post Slider /wp-admin/post-new.php?post_type=tppostpro | 3,721 | 3.14 | 61.39 | 39.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=tppostpro
- > Javascript (severe) in unknown
/wp-content/plugins/post-sliders/assets/js/wp-color-picker-alpha.js?ver=6.3.1 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
post-sliders/tp-post-slider.php 85% from 13 tests
"Post Slider" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 227 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("post-sliders.php" instead of "tp-post-slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected12,473 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 573 | 45 | 3,857 |
JavaScript | 6 | 861 | 1,282 | 3,527 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 10 | 298 | 144 | 2,418 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 15 | |
▷ Named functions | 15 | 100.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
There are no PNG files in this plugin