Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼10.68ms] Passed 4 tests
A check of server-side resources used by Jiffy Gallery Press
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.22 ▼9.41 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.93 ▼15.06 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 49.59 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 81.37 ▼15.33 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 42.37 ▲4.12 |
Jiffy Gallery Press /wp-admin/options-general.php?page=plugin_JiffyGalleryPress_admin | 3.30 | 30.90 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jiffy Gallery Press
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.27 ▼0.95 | 1.83 ▲0.00 | 40.64 ▼1.18 |
Dashboard /wp-admin | 2,210 ▲22 | 5.80 ▼0.08 | 116.02 ▲8.52 | 44.15 ▲2.05 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.00 ▼0.06 | 38.93 ▼1.43 | 34.38 ▼5.61 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.55 ▲0.98 | 616.30 ▼23.01 | 60.23 ▲9.42 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▲0.00 | 100.48 ▼6.20 | 45.77 ▲1.06 |
Jiffy Gallery Press /wp-admin/options-general.php?page=plugin_JiffyGalleryPress_admin | 790 | 2.02 | 26.89 | 29.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jiffy-gallery-press/jiffy-gallery-press.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: image gallery, expand image, media, image, gallery
jiffy-gallery-press/jiffy-gallery-press.php 92% from 13 tests
The main PHP script in "Jiffy Gallery Press" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected617 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 124 | 36 | 398 |
JavaScript | 2 | 107 | 203 | 182 |
CSS | 1 | 19 | 23 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 1 | |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 8 | 100.00% |
▷ Public constants | 8 | 100.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 files were detected