Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.07ms] Passed 4 tests
Server-side resources used by BrightSlider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.71 ▲0.80 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.78 ▼2.30 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 50.13 ▼1.39 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 99.58 ▼9.38 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.97 ▲5.00 |
All Slides /wp-admin/edit.php?post_type=bs_slide | 3.39 | 39.12 |
Add New /wp-admin/post-new.php?post_type=bs_slide | 3.41 | 50.10 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by BrightSlider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.25 ▼0.32 | 1.70 ▲0.08 | 39.30 ▼1.49 |
Dashboard /wp-admin | 2,234 ▲60 | 5.64 ▼0.06 | 92.75 ▲8.13 | 42.51 ▲4.96 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.98 ▼0.04 | 39.90 ▼1.56 | 37.23 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.25 ▲0.03 | 646.76 ▼36.93 | 63.21 ▲12.65 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.21 ▲0.03 | 98.55 ▼8.96 | 41.74 ▼5.04 |
All Slides /wp-admin/edit.php?post_type=bs_slide | 1,104 | 1.95 | 33.24 | 32.50 |
Add New /wp-admin/post-new.php?post_type=bs_slide | 1,700 | 3.65 | 68.22 | 34.64 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
No tags were detected
brightslider/brightslider.php Passed 13 tests
Analyzing the main PHP file in "BrightSlider" version 1.1.0
23 characters long description:
The ThemeBright slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected821 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 294 | 360 | 554 |
CSS | 2 | 37 | 9 | 143 |
JavaScript | 2 | 66 | 74 | 118 |
Markdown | 1 | 3 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 114.00 |
▷ Minimum class complexity | 114.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 8.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin