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: ▼4.93ms] Passed 4 tests
An overview of server-side resources used by Simple Text Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.76 ▼6.66 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.72 ▼0.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.29 ▼5.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.05 ▼7.42 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.41 ▲2.04 |
Simple Text Slider /wp-admin/options-general.php?page=simple_text_slider | 3.19 | 29.27 |
Server storage [IO: ▲0.19MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Text Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,909 ▲163 | 15.19 ▲0.82 | 29.98 ▲27.93 | 41.41 ▼2.76 |
Dashboard /wp-admin | 2,233 ▲45 | 5.04 ▼0.84 | 111.58 ▼9.24 | 41.80 ▼0.04 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.31 ▲0.33 | 43.71 ▲3.74 | 34.63 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 18.43 ▼4.65 | 602.19 ▲6.19 | 38.44 ▼17.79 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.50 ▲0.27 | 98.44 ▲3.39 | 39.81 ▼0.73 |
Simple Text Slider /wp-admin/options-general.php?page=simple_text_slider | 1,227 | 2.60 | 56.20 | 32.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple_text_slider
- > Notice in wp-content/plugins/simple-text-slider/inc/interface.php+92
Trying to access array offset on value of type bool
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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-text-slider/simple-text-slider.php
- > /wp-content/plugins/simple-text-slider/inc/interface.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (A slider. Nice!), #2 (Options.)
simple-text-slider/simple-text-slider.php Passed 13 tests
The main PHP script in "Simple Text Slider" version 1.0.5 is automatically included on every request by WordPress
82 characters long description:
Adds a simple shortcode to output serveral vertical text slider wherever you want.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin506 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 74 | 77 | 197 |
PHP | 2 | 45 | 28 | 182 |
CSS | 2 | 19 | 3 | 127 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 | 11 | |
▷ Named functions | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |
screenshot-1.png | 156.96KB | 28.93KB | ▼ 81.57% |