Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.73MB] [CPU: ▲1,079.61ms] 50% from 4 tests
Analyzing server-side resources used by Jewel Flickr
Please have a look at the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,244.59ms on /wp-admin/options-general.php?page=jewel-flickr-recommended-plugins)
- Extra CPU: Try to keep extra CPU usage under 200.00ms (currently 1,079.61ms on /wp-admin/options-general.php?page=jewel-flickr-recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 654.69 ▲614.12 |
Dashboard /wp-admin | 4.17 ▲0.87 | 1,523.28 ▲1,473.29 |
Posts /wp-admin/edit.php | 4.11 ▲0.75 | 1,287.65 ▲1,242.91 |
Add New Post /wp-admin/post-new.php | 6.57 ▲0.68 | 1,343.16 ▲1,241.60 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 1,253.28 ▲1,219.80 |
Recommended /wp-admin/options-general.php?page=jewel-flickr-recommended-plugins | 3.92 | 1,244.59 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 14 new options
New WordPress options |
---|
jlt_flickr_notice_subscribe |
widget_recent-posts |
widget_jewel-flickr-widget |
jlt_flickr_notice_what_we_collect |
jlt_flickr_notice_ask_for_rating |
jlt_flickr_sheet_promo_data |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Jewel Flickr
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲230 | 13.29 ▼1.01 | 1.76 ▼0.07 | 38.34 ▼11.28 |
Dashboard /wp-admin | 2,370 ▲182 | 5.95 ▲1.07 | 99.33 ▼9.36 | 40.63 ▼4.22 |
Posts /wp-admin/edit.php | 2,179 ▲90 | 2.06 ▲0.05 | 37.90 ▲0.94 | 32.36 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,627 ▲85 | 23.42 ▲5.20 | 634.30 ▼11.47 | 55.72 ▲2.59 |
Media Library /wp-admin/upload.php | 1,475 ▲90 | 4.15 ▼0.04 | 105.14 ▲2.29 | 40.66 ▼4.03 |
Recommended /wp-admin/options-general.php?page=jewel-flickr-recommended-plugins | 1,249 | 1.98 | 27.23 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 14 options in the database
- jlt_flickr_notice_what_we_collect
- jlt_flickr_notice_subscribe
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- jlt_flickr_sheet_promo_data_hash
- db_upgraded
- jewel_flickr_version
- widget_jewel-flickr-widget
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/jewel-flickr/jewel-flickr.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Flickr_Widget.php:4
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Notifications/What_We_Collect.php:13
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Libs\\RowLinks' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Row_Links.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Libs\\Upgrader' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Upgrade_Plugin.php:12
- > PHP Fatal error
Uncaught Error: Class 'JLTFLICKR\\Libs\\Recommended' not found in wp-content/plugins/jewel-flickr/Inc/Classes/Recommended_Plugins.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=jewel-flickr-recommended-plugins
- > Network (severe)
https://ps.w.org/ultimate-blocks-for-gutenberg/assets/icon-128x128.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
jewel-flickr/jewel-flickr.php 85% from 13 tests
The main PHP script in "Jewel Flickr" version 1.0.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
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
Success! There were no dangerous files found in this plugin3,897 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 762 | 1,473 | 3,097 |
CSS | 3 | 118 | 14 | 646 |
JavaScript | 2 | 15 | 9 | 154 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 27 | |
▷ Abstract classes | 4 | 14.81% |
▷ Concrete classes | 23 | 85.19% |
▷ Final classes | 1 | 4.35% |
Methods | 194 | |
▷ Static methods | 32 | 16.49% |
▷ Public methods | 191 | 98.45% |
▷ Protected methods | 1 | 0.52% |
▷ Private methods | 2 | 1.03% |
Functions | 9 | |
▷ Named functions | 5 | 55.56% |
▷ Anonymous functions | 4 | 44.44% |
Constants | 16 | |
▷ Global constants | 15 | 93.75% |
▷ Class constants | 1 | 6.25% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin