Benchmarks
Plugin footprint 48% 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 gracefully, with no errors
Server metrics [RAM: ▲0.70MB] [CPU: ▼0.49ms] Passed 4 tests
An overview of server-side resources used by Image Photo Gallery Final Tiles Grid
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.18 ▲0.72 | 43.39 ▲1.14 |
Dashboard /wp-admin | 4.02 ▲0.71 | 50.71 ▼0.95 |
Posts /wp-admin/edit.php | 4.07 ▲0.71 | 51.11 ▲3.04 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.67 | 88.93 ▼5.18 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 44.62 ▲6.84 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.11 | 37.76 |
Server storage [IO: ▲5.21MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 234 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_FinalTiles_gallery_images |
wp_FinalTiles_gallery |
New WordPress options |
---|
ftg_review |
widget_recent-posts |
fs_accounts |
fs_active_plugins |
db_upgraded |
fs_debug_mode |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Image Photo Gallery Final Tiles Grid
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲212 | 13.60 ▼0.77 | 6.62 ▲4.82 | 29.53 ▼15.89 |
Dashboard /wp-admin | 2,244 ▲56 | 4.86 ▼0.17 | 100.07 ▼13.97 | 79.94 ▲33.39 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.00 ▼0.06 | 35.23 ▼0.62 | 34.81 ▲1.02 |
Add New Post /wp-admin/post-new.php | 6,422 ▲4,888 | 22.12 ▼0.85 | 966.89 ▲290.94 | 41.11 ▼17.39 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.22 ▼0.05 | 103.99 ▼2.20 | 72.80 ▲25.99 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,098 | 1.74 | 26.07 | 26.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/final-tiles-grid-gallery-lite/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 2 tables
- wp_FinalTiles_gallery
- wp_FinalTiles_gallery_images
- This plugin does not fully uninstall, leaving 10 options in the database
- db_upgraded
- widget_recent-posts
- ftg_review
- fs_debug_mode
- fs_accounts
- widget_recent-comments
- widget_theysaidso_widget
- fs_active_plugins
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/final-tiles-grid-gallery-lite/admin/facebook.php
- > /wp-content/plugins/final-tiles-grid-gallery-lite/admin/edit-gallery.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: imageResults in wp-content/plugins/final-tiles-grid-gallery-lite/admin/include/image-list.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/overview.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/add-gallery.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/include/tinymce-galleries.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/include/edit-gallery.php:103
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/final-tiles-grid-gallery-lite/admin/include/image-list.php on line 11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/final-tiles-grid-gallery-lite/admin/include/fields.php:3
- > PHP Notice
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
final-tiles-grid-gallery-lite/FinalTilesGalleryLite.php 92% from 13 tests
"Image Photo Gallery Final Tiles Grid" version 3.5.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("final-tiles-grid-gallery-lite.php" instead of "FinalTilesGalleryLite.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected62,004 lines of code in 162 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,416 | 17,316 | 38,347 |
CSS | 19 | 1,441 | 412 | 10,612 |
JavaScript | 10 | 2,087 | 2,014 | 10,491 |
PO File | 3 | 926 | 1,381 | 2,554 |
PHP code 0% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
- Please reduce cyclomatic complexity of methods to less than 100 (currently 102)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 96.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 102.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,360 | |
▷ Static methods | 206 | 15.15% |
▷ Public methods | 955 | 70.22% |
▷ Protected methods | 17 | 1.25% |
▷ Private methods | 388 | 28.53% |
Functions | 111 | |
▷ Named functions | 111 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 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
16 compressed PNG files occupy 0.46MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lightbox/lightbox2/img/next.png | 1.32KB | 1.58KB | 0.00% |
admin/images/everlightbox.png | 93.90KB | 94.42KB | 0.00% |
lightbox/lightbox2/img/close.png | 0.27KB | 0.29KB | 0.00% |
admin/tutorial/tutorial-add.png | 14.31KB | 4.02KB | ▼ 71.89% |
lightbox/lightbox2/img/prev.png | 1.33KB | 1.59KB | 0.00% |