Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲1.88MB] [CPU: ▲10.50ms] Passed 4 tests
Server-side resources used by Gutenberg Blocks - YouTube, Vimeo, OpenStreetMap, Countdown Timer, OpenAI - FireBlocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.34 ▲1.87 | 50.68 ▲9.76 |
Dashboard /wp-admin | 5.17 ▲1.87 | 57.32 ▲4.61 |
Posts /wp-admin/edit.php | 5.29 ▲1.93 | 58.44 ▲10.68 |
Add New Post /wp-admin/post-new.php | 8.62 ▲2.73 | 113.07 ▲25.37 |
Media Library /wp-admin/upload.php | 5.09 ▲1.86 | 52.57 ▲16.95 |
Server storage [IO: ▲3.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 1,752 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
fireblocks_version |
widget_recent-posts |
fireblocks_settings |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Gutenberg Blocks - YouTube, Vimeo, OpenStreetMap, Countdown Timer, OpenAI - FireBlocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲178 | 13.50 ▼0.86 | 1.91 ▲0.14 | 39.68 ▼4.73 |
Dashboard /wp-admin | 2,294 ▲109 | 5.90 ▲1.00 | 102.96 ▼8.10 | 79.59 ▲35.63 |
Posts /wp-admin/edit.php | 2,181 ▲92 | 2.01 ▼0.03 | 37.81 ▼2.76 | 49.95 ▲15.65 |
Add New Post /wp-admin/post-new.php | 1,661 ▲142 | 24.04 ▲0.79 | 654.78 ▼43.72 | 239.80 ▲176.56 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.18 ▼0.05 | 98.94 ▼1.40 | 46.25 ▲1.52 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- fireblocks_version
- widget_recent-comments
- fireblocks_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 33× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\City' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/Insights.php:54
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractPlaceRecord' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Record/City.php:26
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Model\\AbstractModel' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Model/AnonymousIp.php:27
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Exception\\GeoIp2Exception' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Exception/OutOfQueriesException.php:8
- > PHP Fatal error
Uncaught Error: Class 'MaxMind\\Exception\\InvalidRequestException' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/maxmind/web-service-common/src/Exception/IpAddressNotFoundException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'GeoIp2\\ProviderInterface' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/WebService/Client.php:45
- > PHP Fatal error
Uncaught Error: Class 'MaxMind\\Exception\\InvalidRequestException' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/maxmind/web-service-common/src/Exception/PermissionRequiredException.php:8
- > PHP Fatal error
Uncaught Error: Class 'GeoIp2\\Record\\AbstractRecord' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Record/Postal.php:21
- > PHP Fatal error
Uncaught Error: Interface 'GeoIp2\\ProviderInterface' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/geoip2/geoip2/src/Database/Reader.php:35
- > PHP Fatal error
Uncaught Error: Class 'FPFramework\\Libs\\Vendors\\AbstractRegistryFormat' not found in wp-content/plugins/fireblocks/Inc/Framework/Inc/Libs/Vendors/Format/Php.php:16
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
fireblocks/fireblocks.php 92% from 13 tests
The main PHP script in "Gutenberg Blocks - YouTube, Vimeo, OpenStreetMap, Countdown Timer, OpenAI - FireBlocks" version 1.4.3 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.9.0" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin32,272 lines of code in 1,671 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 487 | 6,207 | 15,214 | 29,558 |
SVG | 1,086 | 0 | 0 | 1,200 |
Markdown | 7 | 309 | 0 | 709 |
C | 1 | 73 | 15 | 477 |
JSON | 4 | 5 | 0 | 126 |
JavaScript | 42 | 34 | 17 | 68 |
CSS | 37 | 70 | 10 | 39 |
Bourne Shell | 1 | 13 | 22 | 28 |
XML | 2 | 0 | 0 | 26 |
YAML | 1 | 0 | 0 | 18 |
m4 | 1 | 5 | 0 | 14 |
C/C++ Header | 1 | 4 | 12 | 8 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 9.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 61 | |
Interfaces | 8 | |
Traits | 2 | |
Classes | 350 | |
▷ Abstract classes | 15 | 4.29% |
▷ Concrete classes | 335 | 95.71% |
▷ Final classes | 3 | 0.90% |
Methods | 1,341 | |
▷ Static methods | 189 | 14.09% |
▷ Public methods | 1,010 | 75.32% |
▷ Protected methods | 147 | 10.96% |
▷ Private methods | 184 | 13.72% |
Functions | 33 | |
▷ Named functions | 11 | 33.33% |
▷ Anonymous functions | 22 | 66.67% |
Constants | 78 | |
▷ Global constants | 25 | 32.05% |
▷ Class constants | 53 | 67.95% |
▷ Public constants | 53 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Inc/Framework/media/public/css/vendor/images/layers.png | 0.68KB | 1.05KB | 0.00% |
Inc/Framework/media/public/css/vendor/images/layers-2x.png | 1.23KB | 1.67KB | 0.00% |
Inc/Framework/media/public/css/vendor/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
Inc/Framework/media/public/images/marker.png | 5.62KB | 0.74KB | ▼ 86.76% |
Inc/Framework/media/public/css/vendor/images/marker-icon-2x.png | 2.41KB | 2.52KB | 0.00% |