Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.39ms] Passed 4 tests
An overview of server-side resources used by Post Contributor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.24 ▼4.06 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.27 ▼12.84 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.01 ▲6.72 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.11 ▼15.04 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 32.23 ▼1.60 |
Post Contributor /wp-admin/options-general.php?page=post-contributor | 3.25 | 29.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Post Contributor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.28 ▼1.09 | 1.66 ▲0.03 | 42.08 ▼3.77 |
Dashboard /wp-admin | 2,210 ▲22 | 5.77 ▼0.12 | 99.54 ▼6.71 | 39.33 ▼4.78 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.01 | 39.43 ▲2.75 | 35.23 ▼0.01 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.16 ▲5.67 | 661.74 ▲67.79 | 62.08 ▲7.39 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.23 ▲0.05 | 94.55 ▼0.93 | 41.67 ▼1.66 |
Post Contributor /wp-admin/options-general.php?page=post-contributor | 808 | 2.19 | 24.21 | 24.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Please fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/post-contributor/classes/FetchClass.php
- > /wp-content/plugins/post-contributor/index.php
- > /wp-content/plugins/post-contributor/post-contributor.php
- > /wp-content/plugins/post-contributor/classes/PostClass.php
- > /wp-content/plugins/post-contributor/classes/OptionClass.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== post-contributor ===
)
post-contributor/post-contributor.php Passed 13 tests
"Post Contributor" version 1.1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
64 characters long description:
Very handy plugin to show author contribution in particular post
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
Everything looks great! No dangerous files found in this plugin332 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 64 | 112 | 308 |
JSON | 1 | 0 | 0 | 22 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 11.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin