Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.27MB] [CPU: ▼23.58ms] Passed 4 tests
An overview of server-side resources used by Simple Fullscreen Responsive Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.68 | 19.09 ▼33.51 |
Dashboard /wp-admin | 3.35 ▲0.00 | 48.23 ▼19.10 |
Posts /wp-admin/edit.php | 3.40 ▼0.45 | 47.27 ▼13.25 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.14 ▼28.47 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.48 ▲2.25 |
Add New /wp-admin/post-new.php?post_type=sfrs_slider | 3.41 | 44.75 |
All Slides /wp-admin/edit.php?post_type=sfrs_slider | 3.31 | 36.81 |
Simple Slider /wp-admin/options-general.php?page=sfrs-options | 3.26 | 29.45 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Simple Fullscreen Responsive Slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.83 ▼0.32 | 8.63 ▲6.65 | 43.35 ▼7.94 |
Dashboard /wp-admin | 2,223 ▲46 | 5.58 ▼0.09 | 93.33 ▼1.37 | 43.51 ▼3.01 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.97 ▲0.01 | 34.56 ▼3.84 | 31.26 ▼3.75 |
Add New Post /wp-admin/post-new.php | 1,562 ▲35 | 22.87 ▼0.06 | 677.70 ▼14.71 | 55.71 ▼13.17 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.17 ▼0.03 | 104.70 ▼11.33 | 46.53 ▼4.11 |
Add New /wp-admin/post-new.php?post_type=sfrs_slider | 1,876 | 3.88 | 80.84 | 45.75 |
All Slides /wp-admin/edit.php?post_type=sfrs_slider | 1,095 | 1.98 | 29.65 | 29.97 |
Simple Slider /wp-admin/options-general.php?page=sfrs-options | 941 | 2.16 | 22.53 | 30.46 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/simple-fullscreen-responsive-slider/simple-slider-options.php:327
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/simple-fullscreen-responsive-slider/simple-fullscreen-responsive-slider.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Please fix the following attributes:
- Tags: You are using too many tags: 23 tag instead of maximum 10
- Tested up to: Version format is invalid
simple-fullscreen-responsive-slider/simple-fullscreen-responsive-slider.php Passed 13 tests
"Simple Fullscreen Responsive Slider" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
88 characters long description:
A simple, white box, developer friendly plugin to create a fullscreen responsive slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected764 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 105 | 198 | 464 |
CSS | 1 | 0 | 0 | 152 |
LESS | 1 | 20 | 0 | 146 |
JavaScript | 2 | 2 | 18 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/overlay-scanlines-white.png | 0.17KB | 0.12KB | ▼ 30.41% |
images/overlay-scanlines-black.png | 0.16KB | 0.11KB | ▼ 28.66% |
images/overlay-grid-white.png | 0.17KB | 0.11KB | ▼ 34.71% |
images/overlay-grid-black.png | 0.17KB | 0.10KB | ▼ 38.15% |
images/overlay-dots-black.png | 0.16KB | 0.11KB | ▼ 31.90% |