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.18MB] [CPU: ▼1.96ms] Passed 4 tests
An overview of server-side resources used by Wordpress Infinite Gallery - Infinite Scrolling Image Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 38.78 ▲0.62 |
Dashboard /wp-admin | 3.48 ▲0.18 | 53.51 ▼0.11 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 46.38 ▼0.36 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 85.38 ▼7.01 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.80 ▼0.36 |
Add New Gallery /wp-admin/post-new.php?post_type=infinite_gallery | 3.42 | 40.10 |
All Galleries /wp-admin/edit.php?post_type=infinite_gallery | 3.44 | 35.26 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wordpress Infinite Gallery - Infinite Scrolling Image Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.29 ▼0.92 | 1.66 ▼0.17 | 43.09 ▼3.87 |
Dashboard /wp-admin | 2,233 ▲45 | 4.86 ▼0.19 | 115.03 ▲11.17 | 41.95 ▼1.91 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.03 ▼0.14 | 34.04 ▼6.56 | 35.07 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,556 ▲42 | 22.91 ▲5.41 | 646.31 ▼61.25 | 54.41 ▼3.82 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.23 ▲0.03 | 95.85 ▼13.19 | 41.15 ▼2.80 |
Add New Gallery /wp-admin/post-new.php?post_type=infinite_gallery | 2,169 | 4.18 | 81.18 | 37.69 |
All Galleries /wp-admin/edit.php?post_type=infinite_gallery | 1,077 | 2.00 | 31.26 | 29.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=infinite_gallery
- > Notice in wp-content/plugins/infinity-image-gallery/admin/class-gallery-image-list-table.php+154
Undefined index: orderby
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=infinite_gallery
- > Notice in wp-content/plugins/infinity-image-gallery/admin/class-gallery-image-list-table.php+155
Undefined index: order
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #5 (Wordpress Infinite Gallery - Mosaic View (Premium version)), #6 (Wordpress Infinite Gallery - Shortcode popup), #7 (Wordpress Infinite Gallery - Galleries list)
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Contributors: Contributors not specified
infinity-image-gallery/infinity-image-gallery.php 85% from 13 tests
The main file in "Wordpress Infinite Gallery - Infinite Scrolling Image Gallery" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,318 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 166 | 399 | 1,001 |
JavaScript | 5 | 37 | 55 | 185 |
CSS | 3 | 16 | 13 | 132 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 22.25 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 44 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.35% |
Functions | 17 | |
▷ Named functions | 16 | 94.12% |
▷ Anonymous functions | 1 | 5.88% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
PNG images were not found in this plugin