Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.74ms] Passed 4 tests
Analyzing server-side resources used by Featured Image Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 38.69 ▲2.56 |
Dashboard /wp-admin | 3.50 ▲0.16 | 48.52 ▼11.52 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 54.57 ▲6.94 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.74 ▼3.67 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 33.37 ▼2.32 |
Featured Image Generator /wp-admin/options-general.php?page=featured-image-generator-setting-page | 3.35 | 35.56 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fig_thumb_defaut_size_height |
can_compress_scripts |
widget_recent-comments |
fig_font_family |
db_upgraded |
theysaidso_admin_options |
fig_thumb_defaut_size_width |
fig_unsplash_api |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Featured Image Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲151 | 14.65 ▲0.37 | 1.77 ▼0.05 | 41.76 ▼1.39 |
Dashboard /wp-admin | 2,340 ▲163 | 6.13 ▲0.57 | 106.33 ▲19.45 | 40.92 ▼6.44 |
Posts /wp-admin/edit.php | 2,274 ▲171 | 3.30 ▲1.31 | 54.52 ▲20.36 | 35.54 ▲2.87 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,703 | 26.01 ▲7.72 | 819.24 ▲185.38 | 36.43 ▼34.45 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.18 ▼0.20 | 82.92 ▼29.42 | 41.82 ▼5.90 |
Featured Image Generator /wp-admin/options-general.php?page=featured-image-generator-setting-page | 1,187 | 2.89 | 38.44 | 29.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
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 | 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 take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/featured-image-generator/public/partials/featured-image-generator-public-display.php
- > /wp-content/plugins/featured-image-generator/admin/partials/featured-image-generator-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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: You are using too many tags: 29 tag instead of maximum 10
featured-image-generator/featured-image-generator.php 92% from 13 tests
Analyzing the main PHP file in "Featured Image Generator" version 1.3.1
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 173 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,622 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 206 | 544 | 608 |
CSS | 2 | 118 | 12 | 602 |
JavaScript | 2 | 140 | 31 | 412 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 19 | 47.50% |
▷ Public methods | 35 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.50% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected