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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.42ms] Passed 4 tests
Server-side resources used by Easy Gallery Management - ( Password protected, Masonary layout, Share and download gallery image )
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.49 ▼1.74 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.39 ▼6.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.89 ▲3.79 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.26 ▼6.59 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.61 ▲0.81 |
Gallery /wp-admin/edit.php?post_type=vc_gallery | 3.29 | 35.11 |
Add New /wp-admin/post-new.php?post_type=vc_gallery | 3.38 | 46.56 |
Welcome to Easy Gallery Management /wp-admin/index.php?page=welcome-vcgallery | 3.22 | 30.05 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Gallery Management - ( Password protected, Masonary layout, Share and download gallery image )
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲104 | 13.80 ▼0.58 | 8.77 ▲6.57 | 45.64 ▼0.53 |
Dashboard /wp-admin | 2,240 ▲55 | 4.82 ▼1.08 | 97.46 ▼19.10 | 38.16 ▼4.81 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.06 ▲0.05 | 39.86 ▲1.57 | 32.99 ▼3.91 |
Add New Post /wp-admin/post-new.php | 1,559 ▲26 | 23.23 ▲0.03 | 673.67 ▲11.56 | 53.60 ▼3.55 |
Media Library /wp-admin/upload.php | 1,416 ▲31 | 4.13 ▼0.06 | 109.03 ▲6.80 | 48.61 ▲4.75 |
Gallery /wp-admin/edit.php?post_type=vc_gallery | 1,127 | 1.94 | 31.02 | 30.96 |
Add New /wp-admin/post-new.php?post_type=vc_gallery | 2,516 | 7.79 | 163.33 | 65.41 |
Welcome to Easy Gallery Management /wp-admin/index.php?page=welcome-vcgallery | 876 | 2.18 | 25.26 | 37.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vc-gallery/vcgallery.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/vc-gallery/single-gallery.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: easy gallery, gallery, easy gallery management, gallery with masonary layout, share and download gallery image...
vc-gallery/vcgallery.php 85% from 13 tests
The primary PHP file in "Easy Gallery Management - ( Password protected, Masonary layout, Share and download gallery image )" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("vc-gallery.php" instead of "vcgallery.php")
- Plugin Name: A shorter plugin name is better (currently 99 characters long instead of max. 70)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,298 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 45 | 16 | 1,054 |
PHP | 2 | 26 | 17 | 182 |
SVG | 1 | 0 | 0 | 47 |
JavaScript | 3 | 3 | 8 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 8 | 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
There were not PNG files found in your plugin