Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/3-in-one-slider/3-in-one-slider.php+171
syntax error, unexpected '?>', expecting function (T_FUNCTION) or const (T_CONST)
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.01ms] Passed 4 tests
This is a short check of server-side resources used by 3 in One Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.88 ▼4.47 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.23 ▼0.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.80 ▲0.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.29 ▼7.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.09 ▲0.75 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for 3 in One Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.30 ▼0.05 | 1.54 ▼0.22 | 40.13 ▲2.23 |
Dashboard /wp-admin | 2,195 ▲21 | 5.48 ▼0.11 | 82.32 ▼9.43 | 39.64 ▼3.36 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▼0.02 | 42.23 ▲1.73 | 37.69 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.84 ▲0.80 | 623.57 ▼39.74 | 48.06 ▼5.85 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.15 ▼0.08 | 96.57 ▼15.62 | 41.04 ▼6.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected '?>', expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/3-in-one-slider/3-in-one-slider.php on line 171
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% 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 require attention:
- Screenshots: Please add an image for screenshot #1 (Settings Screen)
3-in-one-slider/3-in-one-slider.php Passed 13 tests
Analyzing the main PHP file in "3 in One Slider" version 1.0.1.1
62 characters long description:
Slide Show, with multiple choice Like cycle, marque, and click
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,588 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 273 | 253 | 2,098 |
PHP | 1 | 60 | 34 | 277 |
CSS | 4 | 56 | 52 | 213 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 13.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 5 | |
▷ Named functions | 5 | 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
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 24.29KB | 10.64KB | ▼ 56.22% |
css/images/bg_direction_nav.png | 1.82KB | 0.79KB | ▼ 56.38% |
screenshot-2.png | 15.53KB | 5.77KB | ▼ 62.86% |