Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▲1.26ms] Passed 4 tests
An overview of server-side resources used by WP Post Controller
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 57.90 ▲19.36 |
Dashboard /wp-admin | 3.52 ▲0.22 | 46.97 ▼3.48 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 46.29 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 107.84 ▲9.59 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.29 ▲0.74 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wppc_post_views |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
wppc_database_setup_done |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Post Controller
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.18 ▼1.20 | 1.71 ▼0.03 | 42.95 ▲4.35 |
Dashboard /wp-admin | 2,230 ▲47 | 4.90 ▼0.01 | 93.94 ▼19.43 | 68.48 ▲24.80 |
Posts /wp-admin/edit.php | 2,126 ▲34 | 2.15 ▲0.18 | 34.77 ▼1.58 | 33.50 ▲0.48 |
Add New Post /wp-admin/post-new.php | 6,651 ▲5,134 | 29.30 ▲11.79 | 984.15 ▲325.74 | 53.50 ▼2.84 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.17 ▼0.03 | 94.30 ▼1.84 | 50.60 ▲7.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_wppc_post_views
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- wppc_database_setup_done
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in wp-post-controller/assets to your readme.txt
- Tags: You are using too many tags: 14 tag instead of maximum 10
wp-post-controller/wp-post-controller.php 92% from 13 tests
The main file in "WP Post Controller" v. 1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,255 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 472 | 57 | 1,076 |
JavaScript | 3 | 29 | 1 | 117 |
CSS | 5 | 1 | 5 | 62 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 4 | 7.84% |
▷ Public methods | 47 | 92.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.84% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/post-controller.png | 9.31KB | 4.73KB | ▼ 49.20% |