Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.36MB] [CPU: ▼3.68ms] Passed 4 tests
A check of server-side resources used by Pile Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 38.45 ▼1.92 |
Dashboard /wp-admin | 3.70 ▲0.40 | 45.32 ▼1.70 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 46.06 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 82.85 ▼10.68 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.10 ▲5.80 |
Pile Galleries /wp-admin/edit.php?post_type=pile_gallery | 3.60 | 40.45 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.62 | 33.39 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pile Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲197 | 13.67 ▼0.70 | 6.84 ▲4.96 | 41.58 ▼0.07 |
Dashboard /wp-admin | 2,254 ▲68 | 5.89 ▲0.91 | 97.96 ▼7.34 | 43.01 ▲2.02 |
Posts /wp-admin/edit.php | 2,142 ▲56 | 2.04 ▲0.04 | 34.81 ▲0.43 | 38.43 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.31 ▲5.90 | 673.08 ▲0.51 | 49.07 ▼6.97 |
Media Library /wp-admin/upload.php | 1,441 ▲50 | 4.27 ▲0.04 | 97.15 ▼7.27 | 46.21 ▲0.16 |
Pile Galleries /wp-admin/edit.php?post_type=pile_gallery | 1,111 | 1.99 | 35.41 | 35.46 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 951 | 2.09 | 24.66 | 24.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pile-gallery/public/partials/pile-gallery-public-display.php
- > /wp-content/plugins/pile-gallery/admin/partials/pile-gallery-admin-display.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/pile-gallery/includes/vendor/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector-v4.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/pile-gallery/public/partials/shortcodes/pile-display.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/pile-gallery/includes/vendor/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector.php:16
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/pile-gallery/includes/vendor/acf-advanced-taxonomy-selector/acf-advanced_taxonomy_selector-v5.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pile-gallery/includes/vendor/TGM-Plugin-Activation/class-tgm-plugin-activation.php:161
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== pile-gallery ===
)
pile-gallery/pile-gallery.php Passed 13 tests
The primary PHP file in "Pile Gallery" version 1.0.7 is used by WordPress to initiate all plugin functionality
90 characters long description:
Create beautiful sortable and stackable galeries from your WordPress posts and media items
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
Everything looks great! No dangerous files found in this plugin2,792 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 694 | 1,549 | 2,079 |
JavaScript | 1 | 248 | 112 | 579 |
CSS | 2 | 18 | 0 | 134 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 24.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 1 | 0.99% |
▷ Public methods | 90 | 89.11% |
▷ Protected methods | 6 | 5.94% |
▷ Private methods | 5 | 4.95% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin