Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.76ms] Passed 4 tests
An overview of server-side resources used by Responsive cropped Yummy images, pictures and thumbnails
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.74 ▼4.64 |
Dashboard /wp-admin | 3.40 ▲0.09 | 50.67 ▲0.82 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 57.97 ▲6.77 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.21 ▼10.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 39.98 ▲3.75 |
Dashboard /wp-admin/plugins.php?page=meta-box | 3.42 | 39.75 |
Chat opener /wp-admin/options-general.php?page=yraci_options | 3.53 | 43.18 |
Server storage [IO: ▲3.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 1,215 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive cropped Yummy images, pictures and thumbnails
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲271 | 16.09 ▲1.71 | 1.77 ▼0.07 | 39.81 ▼5.47 |
Dashboard /wp-admin | 2,412 ▲224 | 7.43 ▲2.32 | 156.71 ▲52.12 | 38.76 ▼2.75 |
Posts /wp-admin/edit.php | 2,329 ▲240 | 3.83 ▲1.82 | 66.98 ▲29.77 | 32.71 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,564 ▲30 | 23.93 ▲0.73 | 622.95 ▼69.49 | 35.74 ▼20.03 |
Media Library /wp-admin/upload.php | 1,461 ▲70 | 5.10 ▲0.76 | 89.19 ▼6.34 | 44.52 ▲1.19 |
Dashboard /wp-admin/plugins.php?page=meta-box | 2,005 | 3.57 | 52.31 | 94.23 |
Chat opener /wp-admin/options-general.php?page=yraci_options | 670 | 1.70 | 10.19 | 19.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 203 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=yraci_options
- > Deprecated in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/phug/util/src/Phug/Util/Partial/OptionTrait.php+178
array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead
SRP 0% 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
Almost there! Just fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/templates/video.php
- > /wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/templates/media.php
- > /wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/templates/upload.php
- > /wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/templates/image-advanced.php
- > /wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/templates/audio.php
- 680× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Phug\\Renderer\\AbstractAdapter' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/phug/renderer/src/Phug/Renderer/Adapter/FileAdapter.php:10
- > PHP Fatal error
Uncaught Error: Class 'Phug\\Compiler' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/pug-php/pug/src/Pug/Compiler.php:8
- > PHP Fatal error
Uncaught Error: Class 'Phug\\Parser\ode' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/phug/parser/src/Phug/Parser/Node/KeywordNode.php:9
- > PHP Fatal error
Uncaught Error: Interface 'NodejsPhpFallback\\WrapperInterface' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/nodejs-php-fallback/nodejs-php-fallback/src/NodejsPhpFallback/Wrapper.php:5
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Cluster\\Distributor\\HashRing' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/predis/predis/src/Cluster/Distributor/KetamaRing.php:22
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\ServerEvalSHA' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/predis/predis/src/Command/ScriptCommand.php:22
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/predis/predis/src/Command/ServerTime.php:19
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Number_Field' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/wpmetabox/meta-box/inc/fields/range.php:11
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\KeyExpireAt' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/predis/predis/src/Command/KeyPreciseExpireAt.php:19
- > PHP Fatal error
Uncaught Error: Class 'Predis\\Command\\Command' not found in wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/predis/predis/src/Command/KeyRestore.php:19
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/plugins.php?page=meta-box
- > Javascript (severe) in unknown
/wp-admin/plugins.php?page=meta-box 1992:22 Uncaught TypeError: $ is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
responsive-cropped-yummy-images-pictures-and-thumbnails/responsive-cropped-yummy-images-pictures-and-thumbnails.php 92% from 13 tests
This is the main PHP file of "Responsive cropped Yummy images, pictures and thumbnails" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
These items require your attention
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .ls - LightWave LScript File in LightWave
- ☣ wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/nodejs-php-fallback/nodejs-php-fallback/node_modules/core-js/build/Gruntfile.ls
- ☣ wp-content/plugins/responsive-cropped-yummy-images-pictures-and-thumbnails/vendor/nodejs-php-fallback/nodejs-php-fallback/node_modules/core-js/build/build.ls
- .ls - LightWave LScript File in LightWave
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2,623 | 23,556 | 46,009 | 136,460 |
PHP | 923 | 10,019 | 21,653 | 44,142 |
JSON | 283 | 125 | 0 | 25,853 |
Markdown | 122 | 6,219 | 0 | 17,441 |
TypeScript | 9 | 320 | 434 | 2,415 |
CSS | 43 | 187 | 144 | 2,409 |
Pug | 287 | 298 | 47 | 1,693 |
HTML | 201 | 145 | 31 | 1,620 |
PO File | 11 | 514 | 567 | 1,384 |
C/C++ Header | 13 | 50 | 0 | 1,003 |
YAML | 23 | 48 | 8 | 836 |
Sass | 4 | 47 | 0 | 344 |
XML | 3 | 7 | 0 | 78 |
Handlebars | 2 | 8 | 0 | 50 |
make | 1 | 10 | 11 | 40 |
INI | 1 | 6 | 6 | 24 |
Ruby | 1 | 2 | 0 | 6 |
Bourne Shell | 1 | 0 | 1 | 5 |
SVG | 1 | 0 | 0 | 5 |
Stylus | 2 | 0 | 0 | 3 |
CoffeeScript | 2 | 1 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 6.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 94 | |
Interfaces | 75 | |
Traits | 52 | |
Classes | 753 | |
▷ Abstract classes | 51 | 6.77% |
▷ Concrete classes | 702 | 93.23% |
▷ Final classes | 6 | 0.85% |
Methods | 3,270 | |
▷ Static methods | 535 | 16.36% |
▷ Public methods | 2,644 | 80.86% |
▷ Protected methods | 448 | 13.70% |
▷ Private methods | 178 | 5.44% |
Functions | 226 | |
▷ Named functions | 63 | 27.88% |
▷ Anonymous functions | 163 | 72.12% |
Constants | 167 | |
▷ Global constants | 15 | 8.98% |
▷ Class constants | 152 | 91.02% |
▷ Public constants | 152 | 100.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
15 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/wpmetabox/meta-box/img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/wpmetabox/meta-box/img/jqueryui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/wpmetabox/meta-box/inc/about/images/online-generator.png | 10.94KB | 11.03KB | 0.00% |
vendor/wpmetabox/meta-box/img/jqueryui/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/wpmetabox/meta-box/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |