Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.49ms] Passed 4 tests
Server-side resources used by Frontier Post
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 42.63 ▼0.03 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.43 ▼1.55 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.65 ▲3.51 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 85.43 ▼15.87 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.87 ▲4.58 |
Export/Import /wp-admin/admin.php?page=frontier_post_admin_option_exp | 3.31 | 37.02 |
Frontier Post Advanced /wp-admin/admin.php?page=frontier_post_admin_advanced | 3.31 | 34.15 |
Frontier Post Settings /wp-admin/admin.php?page=frontier_admin_menu | 3.33 | 34.02 |
Debug Info /wp-admin/admin.php?page=frontier_post_admin_list_capabilities | 3.31 | 35.54 |
Frontier Post Capabilities /wp-admin/admin.php?page=frontier_post_admin_capabilities | 3.32 | 40.21 |
Server storage [IO: ▲0.92MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
frontier_post_capabilities |
widget_frontier-my-approvals |
widget_frontier-my-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
frontier_post_general_options |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Frontier Post
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.17 ▼1.13 | 1.90 ▲0.03 | 42.45 ▼7.99 |
Dashboard /wp-admin | 2,247 ▲59 | 5.76 ▲0.83 | 98.70 ▼5.52 | 40.24 ▼7.22 |
Posts /wp-admin/edit.php | 2,133 ▲44 | 2.01 ▼0.03 | 40.09 ▲0.54 | 37.74 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 17.42 ▼5.99 | 694.01 ▲93.47 | 52.68 ▼3.02 |
Media Library /wp-admin/upload.php | 1,429 ▲44 | 4.18 ▼0.02 | 96.19 ▼13.31 | 40.62 ▼4.50 |
Export/Import /wp-admin/admin.php?page=frontier_post_admin_option_exp | 1,380 | 2.06 | 23.81 | 37.86 |
Frontier Post Advanced /wp-admin/admin.php?page=frontier_post_admin_advanced | 1,174 | 2.03 | 22.30 | 31.35 |
Frontier Post Settings /wp-admin/admin.php?page=frontier_admin_menu | 1,300 | 2.02 | 27.08 | 31.83 |
Debug Info /wp-admin/admin.php?page=frontier_post_admin_list_capabilities | 1,542 | 2.02 | 22.56 | 29.86 |
Frontier Post Capabilities /wp-admin/admin.php?page=frontier_post_admin_capabilities | 1,606 | 2.03 | 25.93 | 35.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_frontier-my-approvals
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_frontier-my-posts
- widget_recent-comments
- widget_frontier-new-category-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 22× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: fpost_sc_parms in wp-content/plugins/frontier-post/forms/frontier_post_form_simple.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function frontier_post_output_msg() in wp-content/plugins/frontier-post/forms/frontier_post_form_page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function frontier_post_output_msg() in wp-content/plugins/frontier-post/forms/frontier_post_form_quickpost.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/frontier-post/forms/frontier_post_form_standard.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/frontier-post/include/frontier_new_category_post_widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function frontier_post_output_msg() in wp-content/plugins/frontier-post/forms/frontier_post_form_old.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/frontier-post/include/frontier_my_posts_widget.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/frontier-post/admin/frontier-post-admin-backup.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function frontier_post_output_msg() in wp-content/plugins/frontier-post/forms/frontier_post_form_preview.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/frontier-post/include/frontier_post_defaults.php:13
- > PHP Notice
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI ("")
frontier-post/frontier-post.php Passed 13 tests
The main PHP file in "Frontier Post" ver. 6.1 adds more information about the plugin and also serves as the entry point for this plugin
109 characters long description:
Simple, Fast & Secure frontend management of posts - Add, Edit, Delete posts from frontend - My Posts Widget.
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
Good job! No executable or dangerous file extensions detected11,745 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 12 | 2,609 | 3,439 | 5,846 |
PHP | 35 | 2,114 | 1,117 | 5,464 |
CSS | 2 | 154 | 38 | 434 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 49.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 13.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 116 | |
▷ Named functions | 116 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 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
10 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/comment.png | 2.11KB | 1.59KB | ▼ 24.95% |
images/comments.png | 1.39KB | 1.28KB | ▼ 8.40% |
include/comments.png | 0.82KB | 0.73KB | ▼ 11.37% |
images/edit.png | 1.77KB | 1.44KB | ▼ 18.92% |
images/approve.png | 1.80KB | 1.45KB | ▼ 19.48% |