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.16MB] [CPU: ▼12.05ms] Passed 4 tests
An overview of server-side resources used by Responsive WordPress Slider - HG Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 44.82 ▼2.77 |
Dashboard /wp-admin | 3.46 ▲0.16 | 51.59 ▲0.05 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.66 ▼8.40 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 89.97 ▼25.43 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.59 ▼11.58 |
All Slides /wp-admin/edit.php?post_type=slides | 3.43 | 99.40 |
All Sliders /wp-admin/edit.php?post_type=sliders | 3.43 | 39.22 |
Add New Slider /wp-admin/post-new.php?post_type=sliders | 3.42 | 44.21 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 3.47 | 48.85 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive WordPress Slider - HG Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.49 ▼0.77 | 9.16 ▲7.31 | 37.62 ▼7.43 |
Dashboard /wp-admin | 2,236 ▲65 | 5.64 ▲0.07 | 91.73 ▼24.80 | 37.51 ▼24.27 |
Posts /wp-admin/edit.php | 2,141 ▲38 | 1.99 ▼0.03 | 37.76 ▼14.03 | 33.16 ▼18.42 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.19 ▲1.71 | 641.65 ▼103.75 | 56.05 ▲2.12 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.27 ▲0.10 | 130.33 ▲5.07 | 55.82 ▼4.79 |
All Slides /wp-admin/edit.php?post_type=slides | 1,137 | 1.92 | 33.26 | 35.48 |
All Sliders /wp-admin/edit.php?post_type=sliders | 1,088 | 1.96 | 38.97 | 32.76 |
Add New Slider /wp-admin/post-new.php?post_type=sliders | 1,730 | 2.52 | 58.92 | 70.69 |
Add New Slide /wp-admin/post-new.php?post_type=slides | 1,797 | 3.59 | 80.51 | 36.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flexslider-hg/flexslider-hg.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Requires at least: Version format is invalid
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
flexslider-hg/flexslider-hg.php Passed 13 tests
The main file in "Responsive WordPress Slider - HG Slider" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
75 characters long description:
A responsive image rotator plugin that easily creates WordPress slideshows.
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 detected622 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 147 | 52 | 532 |
CSS | 1 | 30 | 24 | 57 |
JavaScript | 1 | 0 | 10 | 33 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/bg_direction_nav.png | 1.82KB | 0.79KB | ▼ 56.38% |
images/bg_direction_nav_squared.png | 1.32KB | 0.35KB | ▼ 73.71% |
images/bg_direction_nav_rounded.png | 1.82KB | 0.79KB | ▼ 56.38% |