Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼139.68ms] Passed 4 tests
Server-side resources used by TC Bootstrap Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 35.17 ▲14.70 |
Dashboard /wp-admin | 3.12 ▲0.06 | 42.85 ▲0.40 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 45.02 ▲3.38 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 88.50 ▼560.23 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 31.68 ▼2.28 |
Categories /wp-admin/edit-tags.php?taxonomy=Carousel_category&post_type=tc-bcarousel | 3.06 | 32.35 |
Slider Settings /wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting | 3.03 | 27.86 |
All Carousels /wp-admin/edit.php?post_type=tc-bcarousel | 3.10 | 32.87 |
Add New Carousel /wp-admin/post-new.php?post_type=tc-bcarousel | 3.12 | 51.28 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for TC Bootstrap Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,730 ▲148 | 16.00 ▲0.15 | 10.68 ▲3.00 | 50.58 ▼3.84 |
Dashboard /wp-admin | 3,015 ▲84 | 5.98 ▼0.10 | 153.41 ▲14.25 | 116.75 ▼12.20 |
Posts /wp-admin/edit.php | 2,784 ▲45 | 2.72 ▼0.00 | 63.55 ▲0.65 | 88.27 ▼5.71 |
Add New Post /wp-admin/post-new.php | 1,529 ▼141 | 18.68 ▼0.43 | 382.20 ▲18.29 | 110.74 ▲7.09 |
Media Library /wp-admin/upload.php | 1,852 ▲42 | 5.01 ▼0.04 | 143.85 ▲4.59 | 123.87 ▲4.63 |
Categories /wp-admin/edit-tags.php?taxonomy=Carousel_category&post_type=tc-bcarousel | 1,784 | 2.38 | 60.57 | 83.06 |
Slider Settings /wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting | 1,187 | 2.10 | 51.57 | 80.96 |
All Carousels /wp-admin/edit.php?post_type=tc-bcarousel | 1,451 | 2.63 | 58.84 | 72.49 |
Add New Carousel /wp-admin/post-new.php?post_type=tc-bcarousel | 2,392 | 4.60 | 103.14 | 91.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-bootstrap-carousel/libs/cpt.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tc-bootstrap-carousel/admin/tc-bcarousel-setting.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/tc-bootstrap-carousel/public/tc-bcarousel-view.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tc-bootstrap-carousel/tc-bootstrap-carousel.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting 153 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting
- > Rendering (warning) in unknown
/wp-admin/edit.php?post_type=tc-bcarousel&page=slider_setting 158 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration Passed 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: bootstrap responsive slider, bootstrap slider, themescode, bootstrap carousel slider, boostrap carousel
tc-bootstrap-carousel/tc-bootstrap-carousel.php Passed 13 tests
Analyzing the main PHP file in "TC Bootstrap Carousel" version 1.0
72 characters long description:
Twitter Bootstrap based professional WordPress carousel slider plugin.
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
Everything looks great! No dangerous files found in this plugin549 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 288 |
PHP | 4 | 42 | 18 | 171 |
CSS | 1 | 17 | 5 | 90 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon.png | 0.38KB | 0.32KB | ▼ 15.89% |