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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.24ms] Passed 4 tests
This is a short check of server-side resources used by Article Gallery Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 54.29 ▲7.58 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.35 ▼5.42 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 53.61 ▲3.42 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.73 ▼10.71 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 43.38 ▲3.75 |
Gallery showcases /wp-admin/edit.php?post_type=sp_article_gallery&page=responsive_gallery-cgs-bar-submenu-page | 3.27 | 35.74 |
All Images /wp-admin/edit.php?post_type=sp_article_gallery | 3.35 | 40.45 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_cgs_slider-category&post_type=sp_article_gallery | 3.30 | 37.20 |
Add New /wp-admin/post-new.php?post_type=sp_article_gallery | 3.43 | 52.63 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Article Gallery Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.48 ▼0.88 | 8.43 ▲6.66 | 42.50 ▼0.68 |
Dashboard /wp-admin | 2,230 ▲53 | 5.58 ▼0.01 | 88.90 ▼17.70 | 40.57 ▼2.85 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.01 ▲0.03 | 33.59 ▼4.96 | 35.31 ▲5.13 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.00 ▼0.22 | 661.97 ▼50.03 | 52.26 ▼5.27 |
Media Library /wp-admin/upload.php | 1,438 ▲41 | 4.12 ▼0.04 | 110.06 ▲2.14 | 47.02 ▼1.59 |
Gallery showcases /wp-admin/edit.php?post_type=sp_article_gallery&page=responsive_gallery-cgs-bar-submenu-page | 834 | 1.99 | 23.18 | 30.93 |
All Images /wp-admin/edit.php?post_type=sp_article_gallery | 1,119 | 1.97 | 31.07 | 31.52 |
Gallery Category /wp-admin/edit-tags.php?taxonomy=responsive_cgs_slider-category&post_type=sp_article_gallery | 1,292 | 2.24 | 27.77 | 32.22 |
Add New /wp-admin/post-new.php?post_type=sp_article_gallery | 2,340 | 7.68 | 172.26 | 68.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/article-gallery-slider/article-gallery-slider.php:329
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/article-gallery-slider/designs/template.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/article-gallery-slider/cgs_gallery_admin_settings_center.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=sp_article_gallery&page=responsive_gallery-cgs-bar-submenu-page
- > Network (severe)
wp-content/plugins/article-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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Designs Views from admin side), #2 (Catagroies shortcode)
article-gallery-slider/article-gallery-slider.php Passed 13 tests
The main PHP script in "Article Gallery Slider" version 1.0 is automatically included on every request by WordPress
42 characters long description:
A simple Responsive Article Gallery Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,859 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 207 | 17 | 1,293 |
PHP | 3 | 59 | 25 | 290 |
CSS | 4 | 49 | 18 | 276 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/grabbing.png | 0.11KB | 0.14KB | 0.00% |
images/icon_total_01.png | 24.31KB | 9.78KB | ▼ 59.76% |