Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼270.14ms] Passed 4 tests
An overview of server-side resources used by Filterize Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 38.20 ▲13.51 |
Dashboard /wp-admin | 3.18 ▲0.13 | 47.27 ▲2.12 |
Posts /wp-admin/edit.php | 3.23 ▲0.13 | 42.63 ▼1.40 |
Add New Post /wp-admin/post-new.php | 5.77 ▲0.34 | 77.48 ▼1,072.51 |
Media Library /wp-admin/upload.php | 3.14 ▲0.13 | 30.59 ▼8.77 |
Add Gallery /wp-admin/post-new.php?post_type=filterizegallery | 3.17 | 39.42 |
Galleries List /wp-admin/edit.php?post_type=filterizegallery | 3.13 | 33.08 |
Server storage [IO: ▲2.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 338 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Filterize Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,957 ▲352 | 16.57 ▲1.12 | 15.65 ▲6.72 | 50.65 ▲8.34 |
Dashboard /wp-admin | 2,991 ▲138 | 5.96 ▲0.14 | 166.41 ▲31.02 | 103.47 ▲9.34 |
Posts /wp-admin/edit.php | 2,741 ▲35 | 2.68 ▼0.01 | 63.00 ▲1.01 | 84.78 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,676 ▲23 | 18.71 ▼0.08 | 348.42 ▼14.29 | 106.56 ▼3.76 |
Media Library /wp-admin/upload.php | 1,810 ▲41 | 5.01 ▲0.01 | 147.85 ▼2.49 | 104.10 ▼15.39 |
Add Gallery /wp-admin/post-new.php?post_type=filterizegallery | 2,481 | 3.54 | 99.13 | 79.19 |
Galleries List /wp-admin/edit.php?post_type=filterizegallery | 1,424 | 2.63 | 59.51 | 68.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 7× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/filterize-gallery/fg_class.php
- > /wp-content/plugins/filterize-gallery/index.php
- > /wp-content/plugins/filterize-gallery/include/image_item.php
- > /wp-content/plugins/filterize-gallery/include/gallery.php
- > /wp-content/plugins/filterize-gallery/include/multifilter.php
- > /wp-content/plugins/filterize-gallery/include/filtersearch.php
- > /wp-content/plugins/filterize-gallery/include/simplefilter.php
- 27× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/filterize-gallery/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (admin screenshot) image not found
- Donate link: Invalid url: ""
filterize-gallery/index.php 69% from 13 tests
Analyzing the main PHP file in "Filterize Gallery" version 1.0
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Make the plugin description longer than 10 characters (currently 0 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("filterize-gallery.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected40,154 lines of code in 189 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 119 | 12,731 | 16,338 | 29,151 |
CSS | 16 | 1,030 | 1,051 | 5,423 |
PHP | 47 | 1,256 | 2,968 | 4,182 |
JavaScript | 7 | 227 | 433 | 1,398 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 13.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 57 | |
▷ Abstract classes | 4 | 7.02% |
▷ Concrete classes | 53 | 92.98% |
▷ Final classes | 0 | 0.00% |
Methods | 306 | |
▷ Static methods | 25 | 8.17% |
▷ Public methods | 269 | 87.91% |
▷ Protected methods | 34 | 11.11% |
▷ Private methods | 3 | 0.98% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 9 | 81.82% |
▷ Class constants | 2 | 18.18% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
20 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |