Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.82ms] Passed 4 tests
This is a short check of server-side resources used by Embed Pro Flickr
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.44 ▼3.07 |
Dashboard /wp-admin | 3.45 ▲0.10 | 46.26 ▼9.85 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 47.59 ▲5.72 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 91.44 ▼12.36 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.31 ▲1.99 |
Embed Pro Flickr /wp-admin/options-general.php?page=embed-pro-flickr/embed-pro-flickr.php | 3.34 | 35.06 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Embed Pro Flickr
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.17 ▼1.20 | 4.84 ▲3.00 | 41.13 ▼11.36 |
Dashboard /wp-admin | 2,207 ▲16 | 4.85 ▼0.03 | 109.88 ▲9.17 | 41.08 ▲2.58 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.12 ▲0.07 | 40.91 ▲0.81 | 36.79 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.30 ▼4.83 | 596.67 ▼14.65 | 55.98 ▲7.19 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.24 ▲0.02 | 97.97 ▼1.70 | 42.36 ▲0.21 |
Embed Pro Flickr /wp-admin/options-general.php?page=embed-pro-flickr/embed-pro-flickr.php | 1,553 | 2.07 | 25.33 | 43.96 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/embed-pro-flickr/embed-pro-flickr.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
embed-pro-flickr/embed-pro-flickr.php Passed 13 tests
The entry point to "Embed Pro Flickr" version 1.0 is a PHP file that has certain tags in its header comment area
131 characters long description:
Embed Pro Flickr helps you customize Flickr photos embedded in your WordPress site, inproving user experience, performance and SEO.
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
No dangerous file extensions were detected814 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 173 | 140 | 750 |
CSS | 1 | 16 | 4 | 64 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 21 | |
▷ Named functions | 16 | 76.19% |
▷ Anonymous functions | 5 | 23.81% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin