Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼2.65ms] 75% from 4 tests
Server-side resources used by Post List Featured Image
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 743.58ms on /wp-admin/upload.php?page=plfi-settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 36.09 ▼3.10 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.57 ▼1.64 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.96 ▲5.38 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 92.16 ▼11.24 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 41.19 ▲8.70 |
Featured Image Settings /wp-admin/upload.php?page=plfi-settings | 3.53 | 743.58 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Post List Featured Image: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.16 ▼1.21 | 1.58 ▼0.21 | 38.69 ▼5.64 |
Dashboard /wp-admin | 2,210 ▲25 | 5.87 ▲0.02 | 106.44 ▼18.25 | 41.98 ▼4.75 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 1.98 ▼0.02 | 40.45 ▼0.11 | 36.70 ▲1.04 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.26 ▲0.45 | 646.42 ▲34.67 | 60.95 ▲7.59 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.05 | 100.02 ▲0.52 | 40.83 ▼2.68 |
Featured Image Settings /wp-admin/upload.php?page=plfi-settings | 1,932 | 16.95 | 425.57 | 130.19 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 fix the following
- 15× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/Lib/Debugger.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/Model.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/View/admin-page-go-pro.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/Lib/TabsData.php
- > /wp-content/plugins/post-list-featured-image/autoload.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/View/settings-tab.php
- > /wp-content/plugins/post-list-featured-image/post-list-featured-image.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/Controller/Admin.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/Lib/Helper.php
- > /wp-content/plugins/post-list-featured-image/PostListFeaturedImage/View/help-tab.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/upload.php?page=plfi-settings
- > Network (severe)
http://jaggededgemedia.com/wp-content/uploads/2013/05/cropped-logo-icon-lg-300x60.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/upload.php?page=plfi-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/upload.php?page=plfi-settings
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/upload.php?page=plfi-settings
- > Javascript (severe) in unknown
http://platform.twitter.com/widgets.js 7:45852 Uncaught (in promise)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Screenshots: Screenshot #5 (Screenshot shows the "Featured Image Settings" menu.) image required
- Requires at least: Invalid plugin version format
post-list-featured-image/post-list-featured-image.php Passed 13 tests
The primary PHP file in "Post List Featured Image" version 0.5.9 is used by WordPress to initiate all plugin functionality
55 characters long description:
Adds a featured image column in admin Posts/Pages list.
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 plugin2,357 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 238 | 206 | 1,340 |
CSS | 4 | 12 | 10 | 831 |
Sass | 1 | 24 | 0 | 138 |
JavaScript | 2 | 5 | 0 | 48 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 35 | 47.95% |
▷ Public methods | 65 | 89.04% |
▷ Protected methods | 8 | 10.96% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin