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.03MB] [CPU: ▼8.88ms] Passed 4 tests
This is a short check of server-side resources used by Featured Image Column
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.13 ▲0.55 |
Dashboard /wp-admin | 3.35 ▼0.00 | 47.69 ▼15.41 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.65 ▲0.89 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.42 ▼19.10 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.87 ▼1.54 |
Featured Image Col /wp-admin/options-general.php?page=featured-image-column | 3.24 | 31.43 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
featured_image_column |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Featured Image Column: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.26 ▼1.05 | 1.65 ▼0.05 | 40.74 ▲0.90 |
Dashboard /wp-admin | 2,204 ▲16 | 5.84 ▼0.02 | 97.93 ▼3.31 | 36.94 ▼7.84 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 2.00 ▼0.01 | 36.66 ▲2.18 | 33.86 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,517 ▼6 | 17.38 ▼6.15 | 664.96 ▼32.36 | 59.14 ▼12.21 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.06 | 95.15 ▼6.65 | 42.04 ▼4.53 |
Featured Image Col /wp-admin/options-general.php?page=featured-image-column | 822 | 2.06 | 26.29 | 29.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- featured_image_column
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function TheFrosty\\add_action() in wp-content/plugins/featured-image-column/featured-image-column.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/featured-image-column/views/settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: admin, column, featured image
featured-image-column/featured-image-column.php Passed 13 tests
The principal PHP file in "Featured Image Column" v. 0.3.2 is loaded by WordPress automatically on each request
70 characters long description:
Adds a column to the edit screen with the featured image if it exists.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected176 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 109 | 165 |
CSS | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 69.23% |
▷ Protected methods | 4 | 30.77% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/default.png | 4.14KB | 0.53KB | ▼ 87.29% |