Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼173.52ms] Passed 4 tests
This is a short check of server-side resources used by WP Post Front
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 36.30 ▲10.79 |
Dashboard /wp-admin | 3.12 ▲0.06 | 45.48 ▼0.33 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 49.98 ▲4.13 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.04 | 86.48 ▼699.17 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 33.26 ▲1.31 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Post Front
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.87 ▲0.38 | 11.98 ▲1.76 | 48.02 ▼3.07 |
Dashboard /wp-admin | 2,973 ▲39 | 5.93 ▼0.02 | 136.25 ▼10.82 | 112.97 ▼7.54 |
Posts /wp-admin/edit.php | 2,736 ▼0 | 2.70 ▼0.02 | 66.25 ▲1.75 | 91.27 ▲4.20 |
Add New Post /wp-admin/post-new.php | 1,672 ▼2,071 | 18.97 ▼0.80 | 395.95 ▼39.04 | 111.25 ▼1.77 |
Media Library /wp-admin/upload.php | 1,813 ▲3 | 5.07 ▲0.01 | 155.30 ▲6.94 | 118.15 ▲3.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-post-front/includes/post-new-template.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: wp post front, post front, post frontend, wp post, frontend post
wp-post-front/wp-post-front.php 92% from 13 tests
The entry point to "WP Post Front" version 1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please improve your description making it at least 10 characters long (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected530 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 87 | 90 | 332 |
JavaScript | 1 | 28 | 2 | 105 |
CSS | 1 | 0 | 8 | 41 |
LESS | 1 | 1 | 0 | 40 |
Markdown | 1 | 12 | 0 | 12 |
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.38 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected