Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.46ms] Passed 4 tests
A check of server-side resources used by Pixieshot Gallery - Best WordPress Gallery Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.36 ▼7.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.90 ▼8.11 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.70 ▼0.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.10 ▲11.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.73 ▲2.63 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Pixieshot Gallery - Best WordPress Gallery Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 14.48 ▼0.26 | 1.82 ▼0.19 | 42.47 ▼10.47 |
Dashboard /wp-admin | 2,206 ▲24 | 4.90 ▲0.02 | 107.84 ▲3.33 | 42.74 ▼1.14 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.05 | 38.86 ▼1.11 | 33.56 ▼0.99 |
Add New Post /wp-admin/post-new.php | 1,534 ▼8 | 23.45 ▲5.16 | 596.51 ▼6.88 | 50.63 ▲0.34 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.18 ▼0.05 | 94.09 ▼7.51 | 41.74 ▼2.26 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: elementor, responsive gallery, wordpress gallery plugin, photo gallery, gallery
advanced-gallery/advanced-gallery.php 92% from 13 tests
The principal PHP file in "Pixieshot Gallery - Best WordPress Gallery Plugin" v. 1.0.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 145 characters long)
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
There were no executable files found in this plugin2,166 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 322 | 696 | 1,676 |
CSS | 4 | 33 | 25 | 295 |
JavaScript | 4 | 22 | 34 | 190 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 18.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 81 | |
▷ Static methods | 21 | 25.93% |
▷ Public methods | 67 | 82.72% |
▷ Protected methods | 7 | 8.64% |
▷ Private methods | 7 | 8.64% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin