Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.93ms] Passed 4 tests
A check of server-side resources used by Featured Post Creative
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.08 ▼0.63 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.77 ▼4.86 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 48.56 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 86.17 ▼3.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.62 ▲1.58 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-comments |
wpos_anylc_redirect |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
wpos_anylc_site_uid |
wpfp_options |
can_compress_scripts |
widget_wpfp_featuredlist_widget |
wpfp_plugin_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Featured Post Creative
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,538 ▼1,224 | 12.17 ▼2.59 | 1.52 ▼0.16 | 18.41 ▼25.97 |
Dashboard /wp-admin | 2,218 ▲41 | 5.58 ▼0.06 | 101.83 ▲8.39 | 52.34 ▲5.51 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.02 ▲0.02 | 39.96 ▼0.73 | 35.83 ▲0.84 |
Add New Post /wp-admin/post-new.php | 6,255 ▲4,729 | 25.85 ▲2.34 | 856.29 ▲196.60 | 34.72 ▼21.37 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.22 ▲0.08 | 94.98 ▼2.90 | 39.90 ▼4.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 11 options
- can_compress_scripts
- widget_recent-comments
- wpos_anylc_redirect
- db_upgraded
- theysaidso_admin_options
- widget_wpfp_featuredlist_widget
- wpfp_plugin_version
- widget_recent-posts
- widget_theysaidso_widget
- wpfp_options
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 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
10 plugin tags: add featured posts, responsive featured post, featured post grid, featured post, display featured posts...
featured-post-creative/wpos-featured-post-creative.php 92% from 13 tests
The main file in "Featured Post Creative" v. 1.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("featured-post-creative.php" instead of "wpos-featured-post-creative.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,947 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 695 | 946 | 2,632 |
CSS | 4 | 10 | 6 | 163 |
JavaScript | 4 | 45 | 9 | 150 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 16.89 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 2 | 22.22% |
Methods | 54 | |
▷ Static methods | 2 | 3.70% |
▷ Public methods | 50 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.41% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
wpos-analytics/assets/images/icon.png | 15.95KB | 6.35KB | ▼ 60.21% |
wpos-plugins/assets/images/essential-plugin-16.png | 0.46KB | 0.66KB | 0.00% |
wpos-plugins/assets/images/essential-plugin-50.png | 0.80KB | 1.07KB | 0.00% |
wpos-plugins/assets/images/wponlinesupport-logo.png | 5.94KB | 4.45KB | ▼ 25.07% |