Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼141.90ms] Passed 4 tests
A check of server-side resources used by SP Clients Carousel - Client Showcase Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 29.18 ▼6.86 |
Dashboard /wp-admin | 3.09 ▲0.04 | 42.79 ▲6.03 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 44.88 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 89.59 ▼566.96 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 35.41 ▲5.01 |
Add New /wp-admin/post-new.php?post_type=spspsp_client | 3.15 | 50.00 |
SP Carousel Docs /wp-admin/edit.php?post_type=spspsp_client&page=spspsp-desc | 3.01 | 35.61 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=spspsp_client | 3.03 | 35.89 |
SP Clients /wp-admin/edit.php?post_type=spspsp_client | 3.09 | 25.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 1 new option
New WordPress options |
---|
category_children |
Browser metrics Passed 4 tests
SP Clients Carousel - Client Showcase Slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,752 ▲156 | 16.04 ▲0.06 | 10.52 ▲2.09 | 48.49 ▲0.11 |
Dashboard /wp-admin | 3,018 ▲87 | 5.89 ▼0.06 | 132.63 ▼9.75 | 108.93 ▼6.88 |
Posts /wp-admin/edit.php | 2,784 ▲45 | 2.72 ▲0.00 | 63.33 ▼3.23 | 88.23 ▼5.81 |
Add New Post /wp-admin/post-new.php | 2,090 ▲407 | 19.43 ▲0.72 | 378.65 ▲13.07 | 109.49 ▼5.64 |
Media Library /wp-admin/upload.php | 1,793 ▼14 | 5.03 ▼0.02 | 147.04 ▲1.98 | 127.16 ▲5.49 |
Add New /wp-admin/post-new.php?post_type=spspsp_client | 3,048 | 8.90 | 212.05 | 141.05 |
SP Carousel Docs /wp-admin/edit.php?post_type=spspsp_client&page=spspsp-desc | 1,121 | 2.08 | 55.53 | 70.55 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=spspsp_client | 1,955 | 2.39 | 64.36 | 87.51 |
SP Clients /wp-admin/edit.php?post_type=spspsp_client | 1,496 | 2.62 | 62.87 | 78.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 1 option in the database
- category_children
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: responsive slider, html slider, dynamic carousel, client showcase, slideshows...
sp-clients-carousel/sp-carousel-showcase.php 85% from 13 tests
Analyzing the main PHP file in "SP Clients Carousel - Client Showcase Slider" version 1.0.3
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sp-clients-carousel.php" instead of "sp-carousel-showcase.php")
- Description: Keep the plugin description shorter than 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected402 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 31 | 37 | 253 |
PHP | 4 | 5 | 17 | 124 |
JavaScript | 2 | 1 | 5 | 25 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin