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.50MB] [CPU: ▼6.87ms] Passed 4 tests
Analyzing server-side resources used by Album Gallery - WordPress Gallery
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.53 | 40.69 ▲1.93 |
Dashboard /wp-admin | 3.85 ▲0.50 | 48.98 ▼14.57 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 48.72 ▼3.80 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 84.98 ▼11.04 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 38.54 ▲4.29 |
Our Theme /wp-admin/edit.php?post_type=album_gallery&page=sr-theme-page | 3.68 | 35.79 |
Add Album Gallery /wp-admin/post-new.php?post_type=album_gallery | 3.90 | 49.09 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.78 | 36.45 |
Column Settings /wp-admin/edit.php?post_type=album_gallery&page=ag-column-page | 3.74 | 37.30 |
Docs /wp-admin/edit.php?post_type=album_gallery&page=ag-doc-page | 3.68 | 35.85 |
All Album Gallery /wp-admin/edit.php?post_type=album_gallery | 3.71 | 42.18 |
Server storage [IO: ▲4.83MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Album Gallery - WordPress Gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲202 | 13.46 ▼1.13 | 8.07 ▲6.37 | 38.59 ▼0.30 |
Dashboard /wp-admin | 2,269 ▲98 | 5.51 ▼0.06 | 83.73 ▼1.00 | 43.46 ▲0.56 |
Posts /wp-admin/edit.php | 2,186 ▲86 | 2.03 ▲0.01 | 34.46 ▼2.33 | 40.13 ▲2.58 |
Add New Post /wp-admin/post-new.php | 1,606 ▲80 | 23.20 ▼0.40 | 679.17 ▼5.22 | 49.98 ▲1.46 |
Media Library /wp-admin/upload.php | 1,485 ▲82 | 4.26 ▲0.09 | 96.02 ▼6.62 | 46.19 ▲0.90 |
Our Theme /wp-admin/edit.php?post_type=album_gallery&page=sr-theme-page | 1,028 | 2.06 | 26.83 | 102.40 |
Add Album Gallery /wp-admin/post-new.php?post_type=album_gallery | 2,264 | 3.86 | 79.10 | 312.69 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,087 | 2.03 | 28.14 | 31.80 |
Column Settings /wp-admin/edit.php?post_type=album_gallery&page=ag-column-page | 1,082 | 2.25 | 29.13 | 45.46 |
Docs /wp-admin/edit.php?post_type=album_gallery&page=ag-doc-page | 943 | 2.02 | 23.82 | 35.10 |
All Album Gallery /wp-admin/edit.php?post_type=album_gallery | 1,164 | 2.01 | 42.58 | 44.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=album_gallery
- > Notice in wp-content/plugins/new-album-gallery/new-album-gallery.php+104
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=album_gallery
- > Notice in wp-content/plugins/new-album-gallery/new-album-gallery.php+104
Trying to access array offset on value of type null
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/new-album-gallery/include/docs.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/new-album-gallery/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/new-album-gallery/our-theme/awp-theme.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=album_gallery&page=sr-theme-page
- > Network (severe)
wp-content/plugins/new-album-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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: album gallery, album, gallery, video gallery, carousel...
new-album-gallery/new-album-gallery.php Passed 13 tests
The main PHP file in "Album Gallery - WordPress Gallery" ver. 1.5.4 adds more information about the plugin and also serves as the entry point for this plugin
97 characters long description:
A Newly Amazing Different Most Powerful Responsive Easy To Use Album Gallery Plugin For WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected41,413 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 2,430 | 127 | 24,733 |
JavaScript | 8 | 1,836 | 1,523 | 7,316 |
SVG | 8 | 0 | 0 | 5,924 |
PHP | 8 | 621 | 1,695 | 3,233 |
PO File | 1 | 86 | 97 | 207 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 43.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.86 |
▷ 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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.17MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bg.png | 0.26KB | 0.26KB | 0.00% |
assets/img/p-youtube.png | 0.66KB | 0.67KB | 0.00% |
assets/css/new-slide.png | 7.21KB | 2.40KB | ▼ 66.75% |
assets/img/icons.png | 0.71KB | 0.43KB | ▼ 39.64% |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |