Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.42MB] [CPU: ▼5.13ms] Passed 4 tests
A check of server-side resources used by Team Circle Image Slider With Lightbox
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 46.09 ▲6.25 |
Dashboard /wp-admin | 3.73 ▲0.43 | 51.89 ▼3.93 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 55.83 ▼16.35 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.43 | 99.23 ▼4.19 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 43.06 ▲3.97 |
Manage Images /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox_image_management | 3.65 | 45.97 |
Preview Slider /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox_preview | 3.66 | 41.35 |
Slider Settings /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox | 3.65 | 42.16 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_circle_image_carousel |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
circle_thumbnail_slider_plus_lightbox_settings |
circle_image_carousel |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Team Circle Image Slider With Lightbox
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.79 ▲0.41 | 1.84 ▲0.27 | 41.06 ▼5.14 |
Dashboard /wp-admin | 2,237 ▲49 | 5.85 ▼0.05 | 108.62 ▼4.17 | 42.32 ▼0.99 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 1.98 ▼0.08 | 39.84 ▼0.89 | 31.57 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,558 ▲39 | 23.22 ▲0.17 | 650.82 ▼51.20 | 63.70 ▼4.33 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.19 ▼0.03 | 97.83 ▼17.48 | 41.55 ▼7.23 |
Manage Images /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox_image_management | 1,343 | 4.56 | 100.53 | 75.69 |
Preview Slider /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox_preview | 1,152 | 3.74 | 50.12 | 28.56 |
Slider Settings /wp-admin/admin.php?page=circle_thumbnail_slider_with_lightbox | 1,738 | 5.05 | 98.53 | 77.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_circle_image_carousel
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- circle_thumbnail_slider_plus_lightbox_settings
- circle_image_carousel
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/circle-image-slider-with-lightbox/circle-image-slider-with-lightbox.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #11 (Pro version add/edit featured image to slider.) image required
- Screenshots: A description for screenshot #9 is required in circle-image-slider-with-lightbox/assets to your readme.txt
circle-image-slider-with-lightbox/circle-image-slider-with-lightbox.php 92% from 13 tests
The main PHP file in "Team Circle Image Slider With Lightbox" ver. 1.0.19 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 155 characters long)
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
There were no executable files found in this plugin6,337 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 633 | 754 | 3,231 |
PHP | 1 | 880 | 76 | 2,452 |
CSS | 4 | 124 | 68 | 654 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
16 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/controls_fnc.png | 1.33KB | 1.42KB | 0.00% |
images/prev.png | 1.33KB | 1.59KB | 0.00% |
images/vl-box/player_play.png | 1.40KB | 1.36KB | ▼ 3.20% |
images/vl-box/playico.png | 1.35KB | 1.32KB | ▼ 2.10% |
images/wpforms-336x280v1.png | 24.48KB | 9.58KB | ▼ 60.85% |