Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.47ms] Passed 4 tests
A check of server-side resources used by Future Posts with password
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.06 ▲0.58 |
Dashboard /wp-admin | 3.38 ▲0.08 | 54.05 ▲1.99 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.57 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.92 ▼13.50 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 35.93 ▲1.05 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Future Posts with password
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.19 ▼0.16 | 1.81 ▲0.09 | 44.69 ▲3.45 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▲0.01 | 99.06 ▲12.79 | 44.07 ▼4.54 |
Posts /wp-admin/edit.php | 2,097 ▼0 | 2.14 ▲0.17 | 35.73 ▲1.41 | 37.64 ▼5.76 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.62 ▲0.51 | 675.81 ▼61.93 | 53.38 ▼9.73 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.09 | 96.38 ▼10.76 | 48.63 ▼2.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/future-posts-with-password/includes/PublicFront/Show.php
- > /wp-content/plugins/future-posts-with-password/includes/fpwp.php
- > /wp-content/plugins/future-posts-with-password/future-posts-with-password.php
- > /wp-content/plugins/future-posts-with-password/includes/Admin/Admin.php
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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: password, review, future post, future
future-posts-with-password/future-posts-with-password.php 85% from 13 tests
The main PHP script in "Future Posts with password" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 141 characters long)
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin513 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 122 | 196 | 477 |
PO File | 1 | 1,655 | 3,675 | 23 |
JSON | 2 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview 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.48 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 6 | 14.29% |
▷ Public methods | 34 | 80.95% |
▷ Protected methods | 3 | 7.14% |
▷ Private methods | 5 | 11.90% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected