Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲0.95ms] Passed 4 tests
This is a short check of server-side resources used by WP Multi Author
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.67 ▲3.29 |
Dashboard /wp-admin | 3.38 ▲0.07 | 51.14 ▲3.63 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.16 ▲4.06 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 86.08 ▼0.20 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.45 ▼2.93 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Multi Author
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.20 ▼1.48 | 4.72 ▲2.94 | 43.74 ▼3.21 |
Dashboard /wp-admin | 2,206 ▲15 | 4.84 ▼0.21 | 106.24 ▲0.57 | 38.56 ▼2.81 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.03 | 41.13 ▼0.21 | 38.41 ▲2.91 |
Add New Post /wp-admin/post-new.php | 6,471 ▲4,952 | 20.22 ▼3.02 | 887.30 ▲194.15 | 63.93 ▼0.15 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.17 ▲0.03 | 93.49 ▼12.91 | 41.43 ▼4.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-multi-author/includes/class-backend.php
- > /wp-content/plugins/wp-multi-author/uninstall.php
- > /wp-content/plugins/wp-multi-author/includes/class-main.php
- > /wp-content/plugins/wp-multi-author/includes/class-frontend.php
- > /wp-content/plugins/wp-multi-author/wp-multi-author.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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2 in wp-multi-author/assets to your readme.txt
wp-multi-author/wp-multi-author.php Passed 13 tests
The principal PHP file in "WP Multi Author" v. 1.0.1 is loaded by WordPress automatically on each request
32 characters long description:
One post, multiple contributors!
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
No dangerous file extensions were detected3,472 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 563 | 388 | 2,664 |
CSS | 3 | 127 | 19 | 574 |
PHP | 6 | 76 | 163 | 234 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
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 | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/select2/select2.png | 0.60KB | 0.99KB | 0.00% |