Benchmarks
Plugin footprint 82% 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.15MB] [CPU: ▼7.55ms] 75% from 4 tests
Analyzing server-side resources used by Album Gallery - Flickr Album Gallery
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 503.88ms on /wp-admin/edit.php?post_type=fa_gallery&page=fag-getting-started)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 38.46 ▲1.71 |
Dashboard /wp-admin | 3.48 ▲0.14 | 50.79 ▼13.54 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 45.18 ▼1.30 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 81.37 ▼12.99 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 34.79 ▼2.36 |
Add New Album /wp-admin/post-new.php?post_type=fa_gallery | 3.43 | 42.32 |
Upgrade To Pro /wp-admin/edit.php?post_type=fa_gallery&page=wpffag_products | 3.39 | 56.82 |
Get New Slider Factory Plugin 1 /wp-admin/edit.php?post_type=fa_gallery&page=fag-getting-started | 3.55 | 503.88 |
All Album Galleries /wp-admin/edit.php?post_type=fa_gallery | 3.44 | 36.61 |
Server storage [IO: ▲2.26MB] [DB: ▲0.03MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_fa_gallery |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Album Gallery - Flickr Album Gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲195 | 13.53 ▼1.15 | 5.46 ▲3.56 | 42.96 ▼1.59 |
Dashboard /wp-admin | 2,246 ▲61 | 4.84 ▼1.03 | 98.92 ▼4.98 | 40.42 ▲0.29 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.01 ▲0.02 | 36.00 ▼4.86 | 34.01 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,573 ▲52 | 18.43 ▼4.88 | 600.00 ▼69.27 | 50.89 ▼0.28 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.27 ▼0.01 | 94.25 ▼19.78 | 42.26 ▼4.78 |
Add New Album /wp-admin/post-new.php?post_type=fa_gallery | 1,731 | 2.58 | 49.66 | 53.31 |
Upgrade To Pro /wp-admin/edit.php?post_type=fa_gallery&page=wpffag_products | 870 | 2.02 | 24.27 | 36.11 |
Get New Slider Factory Plugin 1 /wp-admin/edit.php?post_type=fa_gallery&page=fag-getting-started | 1,258 | 1.93 | 29.19 | 47.03 |
All Album Galleries /wp-admin/edit.php?post_type=fa_gallery | 1,166 | 1.94 | 33.44 | 36.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 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
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_fa_gallery
- db_upgraded
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/flickr-album-gallery/plugin-notice/admin/tabs/free-vs-pro-panel.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/flickr-album-gallery/plugin-notice/admin/tabs/free-vs-pro-panel.php:141
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/flickr-album-gallery/plugin-notice/admin/getting-started.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function fag_call_plugin_api() in wp-content/plugins/flickr-album-gallery/plugin-notice/admin/tabs/getting-started-panel.php:24
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: flickr widget, flickr album gallery, flickr gallery, flickr image gallery, flickr
flickr-album-gallery/flickr-album-gallery.php Passed 13 tests
The principal PHP file in "Album Gallery - Flickr Album Gallery" v. 2.2.13 is loaded by WordPress automatically on each request
103 characters long description:
Flickr Album Gallery is on JS API plugin to display all public Flickr albums on your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin7,992 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 176 | 18 | 6,342 |
PHP | 9 | 120 | 164 | 1,099 |
PO File | 3 | 123 | 138 | 285 |
JavaScript | 6 | 30 | 26 | 255 |
SVG | 2 | 0 | 0 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 5 | 22.73% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
4 PNG files occupy 0.23MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-notice/admin/images/Slider-Factory-Pro-features.png | 113.88KB | 111.79KB | ▼ 1.83% |
img/play-pause.png | 0.59KB | 0.46KB | ▼ 22.77% |
img/video-play.png | 2.75KB | 1.80KB | ▼ 34.51% |
img/products/Slider-Factory-Pro.png | 113.88KB | 111.79KB | ▼ 1.83% |