Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼137.29ms] Passed 4 tests
An overview of server-side resources used by Tx Responsive Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 32.05 ▲10.66 |
Dashboard /wp-admin | 3.27 ▲0.21 | 51.76 ▲11.69 |
Posts /wp-admin/edit.php | 3.31 ▲0.20 | 42.77 ▲0.61 |
Add New Post /wp-admin/post-new.php | 5.57 ▲0.14 | 91.36 ▼555.31 |
Media Library /wp-admin/upload.php | 3.14 ▲0.13 | 32.67 ▼5.13 |
Settings /wp-admin/edit.php?post_type=txresponsiveslider&page=slider_setting | 3.11 | 29.56 |
Add New Responsive Slider /wp-admin/post-new.php?post_type=txresponsiveslider | 3.23 | 46.38 |
All Responsive Slider /wp-admin/edit.php?post_type=txresponsiveslider | 3.18 | 32.26 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 2 new options
New WordPress options |
---|
themexpo_version |
themexpo_installed |
Browser metrics Passed 4 tests
Checking browser requirements for Tx Responsive Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,957 ▲361 | 16.46 ▲0.64 | 23.96 ▲15.55 | 57.96 ▲10.97 |
Dashboard /wp-admin | 3,013 ▲82 | 5.95 ▼0.06 | 156.75 ▲1.14 | 108.72 ▼8.56 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.69 ▼0.01 | 62.85 ▼5.76 | 89.20 ▼6.35 |
Add New Post /wp-admin/post-new.php | 1,641 ▲143 | 21.78 ▲2.90 | 265.91 ▼96.68 | 102.78 ▼12.90 |
Media Library /wp-admin/upload.php | 1,847 ▲40 | 5.04 ▲0.04 | 162.30 ▲12.12 | 120.78 ▼2.81 |
Settings /wp-admin/edit.php?post_type=txresponsiveslider&page=slider_setting | 1,180 | 2.09 | 59.38 | 86.21 |
Add New Responsive Slider /wp-admin/post-new.php?post_type=txresponsiveslider | 2,260 | 4.54 | 100.10 | 86.58 |
All Responsive Slider /wp-admin/edit.php?post_type=txresponsiveslider | 1,470 | 2.62 | 63.65 | 75.37 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- themexpo_installed
- themexpo_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in tx-responsive-slider/assets to your readme.txt
tx-responsive-slider/Tx_responnsive_slider.php 92% from 13 tests
"Tx Responsive Slider" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("tx-responsive-slider.php" instead of "Tx_responnsive_slider.php")
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
Everything looks great! No dangerous files found in this plugin834 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 244 | 262 | 732 |
CSS | 2 | 12 | 13 | 80 |
JSON | 2 | 0 | 0 | 21 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 11.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 52 | |
▷ Static methods | 4 | 7.69% |
▷ Public methods | 51 | 98.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.92% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin