Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.15ms] Passed 4 tests
Analyzing server-side resources used by Responsive Flickr Slideshow
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.48 ▼3.34 |
Dashboard /wp-admin | 3.42 ▲0.12 | 51.34 ▲0.46 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 46.07 ▼1.08 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 80.49 ▼12.65 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.86 ▲0.87 |
Flickr Slideshow /wp-admin/options-general.php?page=mobile-friendly-flickr-slideshow/admin.php | 3.33 | 31.58 |
Server storage [IO: ▲0.75MB] [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: 23 new files
Database: no new tables, 16 new options
New WordPress options |
---|
fshow_flickr_api_key |
widget_recent-comments |
fshow_default_thumburl |
fshow_uniqid |
fshow_performance_mode |
widget_theysaidso_widget |
widget_recent-posts |
fshow_default_width |
fshow_flickr_cache_time |
fshow_gallery_short_url |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Responsive Flickr Slideshow
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.79 ▲0.11 | 1.79 ▼0.28 | 42.53 ▲0.65 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼1.00 | 111.75 ▼7.86 | 42.46 ▼4.34 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.02 | 33.84 ▼8.77 | 33.03 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.30 ▲0.18 | 639.00 ▼21.09 | 57.60 ▼4.03 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.17 ▼0.02 | 96.18 ▼6.91 | 41.04 ▼4.19 |
Flickr Slideshow /wp-admin/options-general.php?page=mobile-friendly-flickr-slideshow/admin.php | 993 | 2.03 | 36.03 | 34.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 detected upon uninstall: 15 options
- fshow_default_photosetid
- db_upgraded
- fshow_default_height
- widget_recent-posts
- theysaidso_admin_options
- fshow_performance_mode
- fshow_default_thumburl
- widget_theysaidso_widget
- fshow_flickr_cache_time
- fshow_default_width
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/mobile-friendly-flickr-slideshow/admin.php:2
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: flickr, mobile, responsive, slideshow
mobile-friendly-flickr-slideshow/mobile-friendly-flickr-slideshow.php 85% from 13 tests
The main PHP file in "Responsive Flickr Slideshow" ver. 2.5.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: Please keep the plugin description shorter than 140 characters (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected8,133 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 592 | 71 | 6,351 |
SVG | 1 | 0 | 3 | 967 |
PHP | 5 | 40 | 14 | 749 |
PO File | 1 | 18 | 42 | 55 |
JavaScript | 6 | 1 | 10 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 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
No PNG images were found in this plugin