Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼142.72ms] Passed 4 tests
Server-side resources used by Flickr set slideshows
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.94 ▲0.11 | 23.88 ▲2.60 |
Dashboard /wp-admin | 3.17 ▲0.11 | 30.60 ▼5.64 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 30.20 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 70.56 ▼568.70 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 23.99 ▲2.32 |
Flickr set slideshows /wp-admin/options-general.php?page=flickr_set_galleries_options | 3.07 | 22.26 |
Flickr Set Slideshows /wp-admin/admin.php?page=flickr_set_galleries_manager | 3.09 | 22.40 |
Add new /wp-admin/admin.php?page=flickr_set_galleries_new | 3.07 | 19.30 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_fsg_galleries |
New WordPress options |
---|
fsg_db_version |
Browser metrics Passed 4 tests
Flickr set slideshows: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲103 | 15.62 ▼0.19 | 4.97 ▼0.13 | 75.64 ▲1.00 |
Dashboard /wp-admin | 2,972 ▲76 | 6.13 ▼0.05 | 114.37 ▼18.73 | 186.29 ▲12.31 |
Posts /wp-admin/edit.php | 2,794 ▲54 | 3.24 ▲0.02 | 61.01 ▼1.47 | 135.34 ▼3.81 |
Add New Post /wp-admin/post-new.php | 3,768 ▲115 | 19.01 ▲0.00 | 418.92 ▼14.55 | 177.70 ▼0.52 |
Media Library /wp-admin/upload.php | 1,788 ▲36 | 5.53 ▼0.00 | 129.61 ▼11.81 | 213.05 ▲22.10 |
Flickr set slideshows /wp-admin/options-general.php?page=flickr_set_galleries_options | 1,111 | 2.39 | 52.55 | 112.21 |
Flickr Set Slideshows /wp-admin/admin.php?page=flickr_set_galleries_manager | 1,077 | 2.61 | 54.29 | 99.62 |
Add new /wp-admin/admin.php?page=flickr_set_galleries_new | 1,083 | 2.42 | 52.66 | 102.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_fsg_galleries
- The uninstall procedure has failed, leaving 1 option in the database
- fsg_db_version
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=flickr_set_galleries_new
- > Notice in wp-content/plugins/flickr-set-slideshows/flickr-set-slideshows-new.php+7
Trying to access array offset on value of type bool
SRP 50% 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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flickr-set-slideshows/flickr-set-slideshows-listing.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flickr-set-slideshows/flickr-set-slideshows-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flickr-set-slideshows/flickr-set-slideshows-new.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flickr-set-slideshows/flickr-set-slideshows-listing.php:2
- > 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (A Flickr slideshow in a blog post.), #2 (Flickr set slideshows settings page.), #3 (Slideshow creation page.), #4 (Slideshow listing and edition page.)
flickr-set-slideshows/flickr-set-slideshows.php Passed 13 tests
Analyzing the main PHP file in "Flickr set slideshows" version 0.9
77 characters long description:
Lets you easily embed slideshows of your flickr sets in your posts and pages.
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
There were no executable files found in this plugin869 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 59 | 109 | 658 |
JavaScript | 1 | 13 | 14 | 178 |
CSS | 1 | 7 | 0 | 27 |
XML | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.58MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 72.14KB | 25.02KB | ▼ 65.32% |
screenshot-2.png | 55.63KB | 18.32KB | ▼ 67.07% |
screenshot-1.png | 203.10KB | 67.50KB | ▼ 66.77% |
icon_big.png | 1.53KB | 1.51KB | ▼ 0.83% |
flickr_username.png | 11.89KB | 5.19KB | ▼ 56.35% |