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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.20ms] Passed 4 tests
An overview of server-side resources used by Horizontal Slider with Scroll
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.79 ▲1.21 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.04 ▼4.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.63 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.51 ▼0.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.16 ▼0.73 |
Horizontal Slider With Scroll Settings /wp-admin/admin.php?page=horizontal-slider-with-scroll | 3.24 | 34.93 |
Server storage [IO: ▲6.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Horizontal Slider with Scroll
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,203 ▲441 | 15.75 ▲1.41 | 59.52 ▲57.60 | 37.23 ▼11.89 |
Dashboard /wp-admin | 2,204 ▲27 | 5.53 ▼0.08 | 89.98 ▼8.23 | 43.00 ▼1.63 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.98 ▼0.03 | 39.56 ▼3.20 | 38.32 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 22.94 ▼0.00 | 594.58 ▼86.64 | 49.74 ▼1.22 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.14 ▼0.05 | 94.96 ▼12.66 | 45.42 ▲2.09 |
Horizontal Slider With Scroll Settings /wp-admin/admin.php?page=horizontal-slider-with-scroll | 2,277 | 10.40 | 357.79 | 113.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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)
Even though no errors were found, this is by no means an exhaustive test
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Requires at least: Version not formatted correctly
horizontal-slider-with-scroll/horizontal-slider-with-scroll.php 92% from 13 tests
"Horizontal Slider with Scroll" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 detected14,670 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 9,552 |
JavaScript | 12 | 402 | 367 | 2,567 |
CSS | 8 | 133 | 89 | 1,843 |
PHP | 2 | 63 | 71 | 708 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/middle.png | 1.10KB | 0.37KB | ▼ 66.16% |
assets/images/kinsta4.png | 3.91KB | 1.87KB | ▼ 52.26% |
assets/images/kinsta5.png | 6.61KB | 2.86KB | ▼ 56.73% |
assets/images/kinsta3.png | 18.09KB | 7.01KB | ▼ 61.27% |
assets/images/kinsta7.png | 17.14KB | 7.24KB | ▼ 57.76% |