Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼2.29ms] Passed 4 tests
A check of server-side resources used by Folder Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 43.78 ▼1.39 |
Dashboard /wp-admin | 3.48 ▲0.17 | 61.41 ▲6.18 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 54.21 ▲3.51 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 91.37 ▼10.15 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.63 ▼1.12 |
Folder Gallery /wp-admin/options-general.php?page=folder-gallery | 3.37 | 33.48 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
FolderGallery |
Browser metrics Passed 4 tests
A check of browser resources used by Folder Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.36 ▼0.01 | 1.71 ▼0.18 | 43.54 ▲3.31 |
Dashboard /wp-admin | 2,202 ▲28 | 5.56 ▼0.11 | 89.65 ▼9.36 | 39.07 ▼10.41 |
Posts /wp-admin/edit.php | 2,104 ▲22 | 2.01 ▼0.03 | 40.17 ▲5.84 | 36.49 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.14 ▼0.07 | 671.68 ▼22.48 | 52.78 ▼3.75 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.19 ▲0.00 | 98.26 ▼28.30 | 43.82 ▼11.31 |
Folder Gallery /wp-admin/options-general.php?page=folder-gallery | 1,129 | 2.00 | 22.65 | 30.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/folder-gallery/foldergallery.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% 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
3 plugin tags: lightbox, folder, gallery
folder-gallery/foldergallery.php 77% from 13 tests
The entry point to "Folder Gallery" version 1.7.4 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 389 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("folder-gallery.php" instead of "foldergallery.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,030 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 75 | 823 |
PO File | 1 | 74 | 87 | 154 |
JavaScript | 2 | 1 | 0 | 47 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 183.00 |
▷ Minimum class complexity | 183.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 10.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin