Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲2.55ms] Passed 4 tests
A check of server-side resources used by Responsive Full Width Background Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.21 ▼0.72 |
Dashboard /wp-admin | 3.42 ▲0.12 | 47.32 ▲0.88 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 54.15 ▲8.95 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 93.53 ▲1.09 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 40.97 ▲9.99 |
Server storage [IO: ▲0.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
rfwbs_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Full Width Background Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,137 ▲402 | 14.48 ▲0.11 | 28.00 ▲26.39 | 44.90 ▼1.95 |
Dashboard /wp-admin | 2,221 ▲30 | 4.93 ▼0.98 | 95.19 ▼13.05 | 75.17 ▲31.81 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 1.98 ▼0.01 | 39.76 ▲2.21 | 38.14 ▲6.71 |
Add New Post /wp-admin/post-new.php | 6,671 ▲5,138 | 23.34 ▲0.00 | 1,025.06 ▲383.01 | 72.25 ▲19.97 |
Media Library /wp-admin/upload.php | 1,397 ▲15 | 4.21 ▼0.04 | 93.89 ▼0.59 | 66.61 ▲21.42 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- rfwbs_settings
Smoke tests 75% from 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)
Good news, no errors were detected
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-full-width-background-slider/rfwbs.php:17
- > 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)
No browser issues were found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: There are too many tags (26 tag instead of maximum 10)
responsive-full-width-background-slider/rfwbs.php 92% from 13 tests
"Responsive Full Width Background Slider" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-full-width-background-slider.php" instead of "rfwbs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,294 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 133 | 87 | 707 |
PHP | 3 | 32 | 37 | 459 |
CSS | 2 | 5 | 6 | 128 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 12.50 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 22.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/slider-fullscreen.png | 0.25KB | 0.24KB | ▼ 6.54% |
inc/images/right.png | 0.21KB | 0.24KB | 0.00% |
inc/images/left.png | 0.22KB | 0.25KB | 0.00% |
inc/images/overlay/overlay.png | 0.21KB | 0.10KB | ▼ 52.61% |
inc/images/rfwbs-icon.png | 0.69KB | 0.97KB | 0.00% |