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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.62ms] Passed 4 tests
A check of server-side resources used by Stylish Profile Gallery - Wordpress Gallery, Custom Profile
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.02 ▼1.66 |
Dashboard /wp-admin | 3.46 ▲0.15 | 46.45 ▼7.05 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.29 ▼3.04 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 81.41 ▼14.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.51 ▲3.00 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.39 | 31.89 |
Add Insta Gallery /wp-admin/post-new.php?post_type=insta_type_gallery | 3.71 | 51.54 |
All Insta Gallery /wp-admin/edit.php?post_type=insta_type_gallery | 3.32 | 36.03 |
Docs /wp-admin/edit.php?post_type=insta_type_gallery&page=sr-doc-page | 3.31 | 34.47 |
Our Theme /wp-admin/edit.php?post_type=insta_type_gallery&page=sr-theme-page | 3.32 | 34.38 |
Server storage [IO: ▲3.78MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Stylish Profile Gallery - Wordpress Gallery, Custom Profile
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲183 | 13.44 ▼0.94 | 8.58 ▲6.68 | 44.19 ▼1.80 |
Dashboard /wp-admin | 2,268 ▲91 | 5.57 ▼0.03 | 86.72 ▼13.28 | 43.50 ▲0.60 |
Posts /wp-admin/edit.php | 2,182 ▲79 | 2.06 ▲0.07 | 36.40 ▲0.80 | 39.62 ▲3.56 |
Add New Post /wp-admin/post-new.php | 1,589 ▲61 | 23.57 ▲0.33 | 611.06 ▼52.89 | 57.45 ▲6.03 |
Media Library /wp-admin/upload.php | 1,481 ▲84 | 4.22 ▲0.04 | 99.88 ▲0.20 | 45.36 ▲1.40 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,083 | 2.06 | 23.24 | 30.55 |
Add Insta Gallery /wp-admin/post-new.php?post_type=insta_type_gallery | 2,856 | 4.11 | 79.10 | 409.68 |
All Insta Gallery /wp-admin/edit.php?post_type=insta_type_gallery | 1,163 | 1.99 | 33.46 | 34.14 |
Docs /wp-admin/edit.php?post_type=insta_type_gallery&page=sr-doc-page | 926 | 2.05 | 25.76 | 39.80 |
Our Theme /wp-admin/edit.php?post_type=insta_type_gallery&page=sr-theme-page | 1,006 | 2.33 | 26.55 | 57.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=insta_type_gallery
- > Notice in wp-content/plugins/insta-type-gallery/insta-type-gallery.php+117
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=insta_type_gallery
- > Notice in wp-content/plugins/insta-type-gallery/insta-type-gallery.php+117
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: insta_gallery_id in wp-content/plugins/insta-type-gallery/include/itg-no-lightbox.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/insta-type-gallery/include/itg-bootstrap-lightbox.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/insta-type-gallery/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/insta-type-gallery/include/itg-no-lightbox.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/insta-type-gallery/our-theme/awp-theme.php:3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=insta_type_gallery&page=sr-theme-page
- > Network (severe)
wp-content/plugins/insta-type-gallery/js/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Screenshots: Add a description for screenshot #10 in insta-type-gallery/assets to your readme.txt
- Screenshots: Please add images for these screenshots: #6 (insta style gallery screenshot-6 with 6column), #7 (insta style gallery screenshot-7 with 12 column)
insta-type-gallery/insta-type-gallery.php Passed 13 tests
This is the main PHP file of "Stylish Profile Gallery - Wordpress Gallery, Custom Profile" version 1.1.22, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
61 characters long description:
Insta type gallery plugin with lightbox preview for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected35,537 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 3,193 | 6,919 | 27,123 |
PHP | 8 | 663 | 1,756 | 3,658 |
JavaScript | 8 | 190 | 145 | 2,905 |
SVG | 3 | 0 | 0 | 1,628 |
PO File | 1 | 103 | 104 | 223 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 42.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 5 | 4.20% |
▷ Public methods | 94 | 78.99% |
▷ Protected methods | 25 | 21.01% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 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
4 PNG files occupy 0.39MB with 0.17MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include/img/instagram-type-gallery-premium.png | 3.28KB | 3.27KB | 0.36% |
assets/css/new-slide.png | 2.54KB | 1.19KB | ▼ 53.21% |
include/img/bale-offer.png | 224.52KB | 92.51KB | ▼ 58.80% |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |