Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.63ms] Passed 4 tests
Server-side resources used by Content Gallery Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.15 ▲1.23 |
Dashboard /wp-admin | 3.38 ▲0.08 | 42.81 ▼0.58 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 44.65 ▼3.60 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.81 ▼15.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 35.44 ▲3.03 |
Add New /wp-admin/post-new.php?post_type=sp_fcgs | 3.43 | 48.13 |
All Images /wp-admin/edit.php?post_type=sp_fcgs | 3.35 | 36.32 |
Gallery showcases /wp-admin/edit.php?post_type=sp_fcgs&page=responsive_gallery-fcgs-bar-submenu-page | 3.27 | 29.01 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_fcgs_slider-category&post_type=sp_fcgs | 3.30 | 34.12 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Content Gallery Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲158 | 13.65 ▼0.78 | 9.12 ▲7.62 | 41.03 ▲0.33 |
Dashboard /wp-admin | 2,233 ▲53 | 5.66 ▲0.04 | 84.21 ▼0.96 | 37.69 ▼2.98 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 1.98 ▼0.01 | 35.50 ▼11.56 | 34.48 ▼7.23 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 18.45 ▼4.83 | 636.42 ▲30.22 | 75.87 ▲25.10 |
Media Library /wp-admin/upload.php | 1,441 ▲47 | 4.26 ▲0.09 | 93.66 ▼6.97 | 43.94 ▲0.77 |
Add New /wp-admin/post-new.php?post_type=sp_fcgs | 2,340 | 7.73 | 164.47 | 64.62 |
All Images /wp-admin/edit.php?post_type=sp_fcgs | 1,116 | 1.97 | 31.17 | 36.22 |
Gallery showcases /wp-admin/edit.php?post_type=sp_fcgs&page=responsive_gallery-fcgs-bar-submenu-page | 834 | 1.99 | 23.67 | 28.63 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_fcgs_slider-category&post_type=sp_fcgs | 1,292 | 2.12 | 31.17 | 31.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sp_fcgs&page=responsive_gallery-fcgs-bar-submenu-page
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/content-gallery-slider/designs/template.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-gallery-slider/fcgs_gallery_admin_settings_center.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-gallery-slider/content-gallery-slider.php:342
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=sp_fcgs&page=responsive_gallery-fcgs-bar-submenu-page
- > Network (severe)
wp-content/plugins/content-gallery-slider/images/design-1.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
content-gallery-slider/content-gallery-slider.php Passed 13 tests
The main file in "Content Gallery Slider" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
42 characters long description:
A simple Responsive Content Gallery Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin4,681 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 251 | 386 | 3,742 |
CSS | 3 | 24 | 53 | 638 |
PHP | 3 | 63 | 25 | 301 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon_total_01.png | 24.31KB | 9.78KB | ▼ 59.76% |
images/arrowLeftRight.png | 2.34KB | 0.72KB | ▼ 69.14% |
images/box4T-bg.png | 1.03KB | 0.12KB | ▼ 88.05% |