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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.93ms] Passed 4 tests
Server-side resources used by Featured Image Extended
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.21 ▼7.35 |
Dashboard /wp-admin | 3.42 ▲0.12 | 45.28 ▼4.55 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.14 ▼2.25 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 94.12 ▼1.58 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.31 ▲3.05 |
Featured Image Extended /wp-admin/options-general.php?page=featured_image_extended_general_settings | 3.36 | 33.49 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Featured Image Extended
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.26 ▼1.35 | 1.69 ▼0.24 | 38.57 ▼3.87 |
Dashboard /wp-admin | 2,204 ▲19 | 5.82 ▲0.90 | 107.08 ▼28.23 | 44.88 ▼4.47 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.05 ▲0.03 | 42.07 ▼2.22 | 36.54 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▲7 | 23.03 ▼0.26 | 671.31 ▼10.55 | 68.38 ▲2.78 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.29 ▲0.09 | 95.31 ▼7.92 | 42.93 ▼0.04 |
Featured Image Extended /wp-admin/options-general.php?page=featured_image_extended_general_settings | 999 | 2.09 | 29.61 | 29.39 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/featured-image-extended/php/adminpages/featured-image-extended-quickedit.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/featured-image-extended/php/adminpages/featured-image-extended.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/featured-image-extended/php/adminpages/credits.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/featured-image-extended/php/adminpages/general-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/featured-image-extended/php/adminpages/featured-image-extended-admin-cell.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/featured-image-extended/php/adminpages/featured-image-extended-admin-cell.php on line 8
- > PHP Notice
Undefined variable: params in wp-content/plugins/featured-image-extended/php/adminpages/featured-image-extended-admin-cell.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: thumbnail, category, featured image, post, theme...
featured-image-extended/featured-image-extended.php Passed 13 tests
The primary PHP file in "Featured Image Extended" version 1.0.2 is used by WordPress to initiate all plugin functionality
42 characters long description:
A WordPress Featured Image Extended plugin
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
Success! There were no dangerous files found in this plugin743 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 140 | 389 | 556 |
CSS | 1 | 18 | 6 | 75 |
PO File | 1 | 29 | 41 | 73 |
JavaScript | 1 | 15 | 17 | 39 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 8 | 30.77% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/empty-img-placeholder.png | 2.33KB | 2.06KB | ▼ 11.58% |