Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.98ms] Passed 4 tests
This is a short check of server-side resources used by Innozilla Image Gallery 8
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 21.62 ▼23.99 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.02 ▲2.64 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.58 ▲3.44 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.02 ▼1.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.81 ▲4.28 |
All Gallery /wp-admin/edit.php?post_type=cs_gallery | 3.29 | 40.66 |
Settings /wp-admin/edit.php?post_type=cs_gallery&page=iig8-settings | 3.19 | 27.15 |
Add New /wp-admin/post-new.php?post_type=cs_gallery | 3.37 | 42.60 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Innozilla Image Gallery 8
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.21 ▼1.25 | 4.55 ▲2.50 | 41.86 ▼5.82 |
Dashboard /wp-admin | 2,237 ▲46 | 5.88 ▲1.04 | 106.18 ▲1.78 | 37.17 ▼5.98 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▼0.13 | 39.88 ▲2.73 | 35.42 ▲1.79 |
Add New Post /wp-admin/post-new.php | 1,559 ▲17 | 23.51 ▲5.33 | 651.25 ▲48.41 | 65.64 ▲12.81 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.22 ▼0.09 | 108.48 ▲7.68 | 47.55 ▲2.98 |
All Gallery /wp-admin/edit.php?post_type=cs_gallery | 1,084 | 2.00 | 31.27 | 28.96 |
Settings /wp-admin/edit.php?post_type=cs_gallery&page=iig8-settings | 906 | 2.30 | 24.53 | 45.46 |
Add New /wp-admin/post-new.php?post_type=cs_gallery | 2,175 | 7.77 | 177.43 | 60.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cs_gallery&page=iig8-settings
- > Notice in wp-content/plugins/innozilla-image-gallery-8/includes/iig8-admin.php+89
Trying to access array offset on value of type bool
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
The following issues need your attention
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'IIG8_PLUGIN_DIR/includes/initialize.php' (include_path='.:/usr/share/php') in wp-content/plugins/innozilla-image-gallery-8/includes/init.php on line 10
- > PHP Warning
Use of undefined constant IIG8_PLUGIN_DIR - assumed 'IIG8_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/innozilla-image-gallery-8/includes/init.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/innozilla-image-gallery-8/includes/initialize.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/innozilla-image-gallery-8/includes/iig8-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/innozilla-image-gallery-8/includes/shortcode.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/innozilla-image-gallery-8/innozilla-image-gallery-8.php:19
- > PHP Warning
require_once(IIG8_PLUGIN_DIR/includes/initialize.php): failed to open stream: No such file or directory in wp-content/plugins/innozilla-image-gallery-8/includes/init.php on line 10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: filter gallery, photo gallery, load more gallery, isotope gallery
innozilla-image-gallery-8/innozilla-image-gallery-8.php 92% from 13 tests
"Innozilla Image Gallery 8" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
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 detected1,242 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 148 | 46 | 577 |
CSS | 2 | 41 | 9 | 445 |
PHP | 6 | 78 | 45 | 220 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG images were found in this plugin