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.10MB] [CPU: ▼5.37ms] Passed 4 tests
This is a short check of server-side resources used by Social Like Box Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.19 ▼1.04 |
Dashboard /wp-admin | 3.42 ▲0.12 | 57.03 ▲3.75 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.06 ▼5.54 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.11 | 87.88 ▼15.14 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 39.29 ▲0.23 |
Social Like Box Slider /wp-admin/options-general.php?page=slboxs | 3.32 | 33.87 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
slboxs_version |
slboxs_options |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Social Like Box Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,939 ▲1,178 | 28.37 ▲14.02 | 282.69 ▲280.57 | 81.57 ▲29.56 |
Dashboard /wp-admin | 2,203 ▲26 | 5.64 ▲0.12 | 88.22 ▼0.67 | 38.98 ▲0.63 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.00 ▼0.03 | 35.28 ▼2.35 | 34.75 ▼0.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▼1 | 23.46 ▼1.10 | 659.71 ▲20.03 | 53.19 ▼16.53 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.19 ▲0.02 | 100.39 ▼5.99 | 41.63 ▼4.78 |
Social Like Box Slider /wp-admin/options-general.php?page=slboxs | 1,002 | 2.01 | 27.94 | 28.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- slboxs_options
- slboxs_version
- widget_theysaidso_widget
- widget_recent-comments
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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/social-like-box-slider/social-likebox-slider.php
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 Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: likeslider, social, likebox, facebook, slider
social-like-box-slider/social-likebox-slider.php 85% from 13 tests
The principal PHP file in "Social Like Box Slider" v. 1.0.1 is loaded by WordPress automatically on each request
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("social-like-box-slider.php" instead of "social-likebox-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
There were no executable files found in this plugin1,726 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 18 | 28 | 18 | 1,004 |
PHP | 4 | 72 | 52 | 349 |
Sass | 2 | 27 | 31 | 221 |
CSS | 2 | 6 | 5 | 132 |
JavaScript | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/facebook-big-trans-right.png | 2.79KB | 0.10KB | ▼ 96.50% |
assets/images/twitter-big-trans-right.png | 0.92KB | 0.51KB | ▼ 44.28% |
assets/images/facebook-small-trans.png | 2.76KB | 0.09KB | ▼ 96.57% |
assets/images/youtube-big-fill-right.png | 0.81KB | 0.47KB | ▼ 41.72% |
assets/images/facebook-big-fill-right.png | 2.80KB | 0.08KB | ▼ 96.96% |