Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/gallery-without-the-fluff/gallery-plugin.php+63
Use of undefined constant is_admin - assumed 'is_admin' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.94MB] [CPU: ▼57.23ms] Passed 4 tests
An overview of server-side resources used by Gallery without the Fluff
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 15.62 ▼27.23 |
Dashboard /wp-admin | 2.08 ▼1.27 | 5.53 ▼60.92 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.77 ▼40.92 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.76 ▼95.37 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 7.73 ▼31.69 |
Settings (Admin) /wp-admin/upload.php?page=gallery-settings | 2.08 | 6.73 |
Images into Gallery /wp-admin/upload.php?page=gallery-images-to-gallery | 2.08 | 7.45 |
Add Gallery /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment | 2.08 | 5.43 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fluff_after_loop |
widget_recent-comments |
fluff_before_loop |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
fluff_in_loop |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Gallery without the Fluff
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.29 ▼0.50 | 1.98 ▼0.25 | 43.12 ▼0.06 |
Dashboard /wp-admin | 2,207 ▲30 | 5.62 ▲0.03 | 92.82 ▼8.30 | 38.81 ▼7.77 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.03 | 39.00 ▲4.06 | 38.13 ▼2.51 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.52 ▲0.41 | 653.33 ▼37.00 | 65.35 ▲12.43 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.23 ▲0.03 | 101.88 ▼14.85 | 44.75 ▼4.78 |
Settings (Admin) /wp-admin/upload.php?page=gallery-settings | 1,035 | 1.87 | 24.81 | 40.14 |
Images into Gallery /wp-admin/upload.php?page=gallery-images-to-gallery | 855 | 1.78 | 25.95 | 25.09 |
Add Gallery /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment | 1,319 | 2.12 | 27.34 | 34.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/gallery-without-the-fluff/gallery-plugin.php+63
Use of undefined constant is_admin - assumed 'is_admin' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- fluff_after_loop
- widget_recent-comments
- fluff_in_loop
- widget_recent-posts
- theysaidso_admin_options
- fluff_before_loop
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment
- > Warning in wp-content/plugins/gallery-without-the-fluff/gallery-plugin.php+63
Use of undefined constant is_admin - assumed 'is_admin' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=gallery&post_type=attachment
- > User deprecated in wp-includes/functions.php+5828
Hook contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.
- > GET request to /wp-admin/upload.php?page=gallery-settings
- > Notice in wp-content/plugins/gallery-without-the-fluff/php/help.php+90
Undefined index: content
- 2 occurences, only the last one shown
- > GET request to /wp-admin/upload.php?page=gallery-images-to-gallery
- > Notice in wp-content/plugins/gallery-without-the-fluff/php/menu.php+172
Undefined variable: message
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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gallery-without-the-fluff/php/admin-functions.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/gallery-without-the-fluff/gallery-plugin.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gallery-without-the-fluff/php/update-order-option.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gallery-without-the-fluff/php/help.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gallery-without-the-fluff/php/menu.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gallery-without-the-fluff/php/functions.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Contributors: Plugin contributors not specified
gallery-without-the-fluff/gallery-plugin.php 85% from 13 tests
The primary PHP file in "Gallery without the Fluff" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gallery-without-the-fluff.php" instead of "gallery-plugin.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin846 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 258 | 400 | 723 |
CSS | 2 | 12 | 12 | 108 |
JavaScript | 1 | 4 | 10 | 15 |
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.20 |
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 | 32 | |
▷ Named functions | 32 | 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
There are no PNG files in this plugin