Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.32ms] Passed 4 tests
Server-side resources used by The Future Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.16 ▲3.97 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.97 ▼1.69 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.64 ▼3.04 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.27 ▲4.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.01 ▼0.54 |
Quick Start /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_quick_start.php | 3.28 | 29.16 |
Shortcode Attributes /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_shortcode_attributes.php | 3.25 | 32.00 |
Overlay Icons /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_overlay_icons.php | 3.32 | 29.27 |
Themes /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_themes.php | 3.25 | 34.44 |
About /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_about.php | 3.24 | 30.80 |
FAQ /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_faq.php | 3.23 | 33.27 |
What's New? /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_whats_new.php | 3.23 | 31.51 |
Server storage [IO: ▲6.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
The Future Posts: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.58 ▼1.07 | 8.40 ▲6.49 | 41.78 ▼1.42 |
Dashboard /wp-admin | 2,249 ▲61 | 5.81 ▼0.04 | 94.85 ▼10.38 | 40.61 ▼1.18 |
Posts /wp-admin/edit.php | 2,132 ▲40 | 2.04 ▼0.02 | 39.66 ▲0.15 | 35.52 ▼0.79 |
Add New Post /wp-admin/post-new.php | 1,567 ▲34 | 23.25 ▲0.20 | 604.33 ▼33.27 | 54.37 ▼9.19 |
Media Library /wp-admin/upload.php | 1,431 ▲43 | 4.20 ▼0.02 | 93.19 ▼12.29 | 42.78 ▲0.74 |
Quick Start /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_quick_start.php | 1,587 | 2.20 | 32.63 | 55.48 |
Shortcode Attributes /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_shortcode_attributes.php | 1,529 | 2.37 | 32.44 | 40.34 |
Overlay Icons /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_overlay_icons.php | 2,551 | 2.22 | 30.84 | 49.19 |
Themes /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_themes.php | 1,273 | 2.20 | 27.24 | 40.85 |
About /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_about.php | 1,250 | 2.21 | 27.50 | 35.50 |
FAQ /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_faq.php | 1,241 | 2.20 | 31.78 | 36.85 |
What's New? /wp-admin/admin.php?page=the-future-posts/includes/submenu_item_whats_new.php | 1,368 | 2.22 | 27.85 | 34.35 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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 0% 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
Almost there! Just fix the following items
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/the-future-posts/includes/submenu_item_whats_new.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_faq.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_themes.php
- > /wp-content/plugins/the-future-posts/includes/submenu_footer.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_quick_start.php
- > /wp-content/plugins/the-future-posts/includes/submenu_header.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_shortcode_attributes.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_about.php
- > /wp-content/plugins/the-future-posts/includes/submenu_item_overlay_icons.php
- 77× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include(THE_FUTURE_POSTS_DIRincludes/submenu_header.php): failed to open stream: No such file or directory in wp-content/plugins/the-future-posts/includes/submenu_item_themes.php on line 7
- > PHP Warning
include(THE_FUTURE_POSTS_DIRincludes/submenu_header.php): failed to open stream: No such file or directory in wp-content/plugins/the-future-posts/includes/submenu_item_faq.php on line 7
- > PHP Warning
Use of undefined constant THE_FUTURE_POSTS_DIR - assumed 'THE_FUTURE_POSTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-future-posts/includes/submenu_item_quick_start.php on line 7
- > PHP Warning
include(THE_FUTURE_POSTS_DIRincludes/submenu_header.php): failed to open stream: No such file or directory in wp-content/plugins/the-future-posts/includes/submenu_item_shortcode_attributes.php on line 7
- > PHP Warning
include(THE_FUTURE_POSTS_DIRincludes/submenu_footer.php): failed to open stream: No such file or directory in wp-content/plugins/the-future-posts/includes/submenu_item_quick_start.php on line 511
- > PHP Warning
Use of undefined constant THE_FUTURE_POSTS_DIR - assumed 'THE_FUTURE_POSTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-future-posts/includes/submenu_item_faq.php on line 20
- > PHP Warning
Use of undefined constant THE_FUTURE_POSTS_DIR - assumed 'THE_FUTURE_POSTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-future-posts/includes/submenu_item_themes.php on line 7
- > PHP Warning
Use of undefined constant THE_FUTURE_POSTS_URL - assumed 'THE_FUTURE_POSTS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/the-future-posts/includes/submenu_item_quick_start.php on line 71
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/the-future-posts/includes/submenu_item_overlay_icons.php on line 119
- > PHP Warning
include(THE_FUTURE_POSTS_DIRincludes/submenu_header.php): failed to open stream: No such file or directory in wp-content/plugins/the-future-posts/includes/submenu_item_overlay_icons.php on line 7
- > PHP Warning
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 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
9 plugin tags: post grid, elementor, scheduled, beaver builder, responsive...
the-future-posts/the-future-posts.php 77% from 13 tests
"The Future Posts" version 1.40's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 158 characters long)
- Requires PHP: Required version must match the one declared in readme.txt ("5.6.0" instead of "5.4.45")
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
No dangerous file extensions were detected3,999 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 303 | 84 | 2,058 |
PHP | 12 | 568 | 127 | 1,359 |
SVG | 4 | 149 | 0 | 435 |
HTML | 1 | 52 | 0 | 82 |
JavaScript | 3 | 12 | 24 | 65 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 5.87MB with 3.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/screenshot-8.png | 359.18KB | 174.55KB | ▼ 51.40% |
images/screenshot-6.png | 701.41KB | 266.63KB | ▼ 61.99% |
images/screenshot-2.png | 705.10KB | 356.42KB | ▼ 49.45% |
images/screenshot-10.png | 602.82KB | 269.66KB | ▼ 55.27% |
images/screenshot-4.png | 549.67KB | 219.61KB | ▼ 60.05% |