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.02MB] [CPU: ▼139.55ms] Passed 4 tests
This is a short check of server-side resources used by Wpi Multiple Contributors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.83 ▲15.60 |
Dashboard /wp-admin | 3.08 ▲0.03 | 44.66 ▲4.68 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 42.16 ▼3.80 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 88.27 ▼561.64 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 34.38 ▲2.55 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Wpi Multiple Contributors
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲123 | 16.30 ▲0.59 | 10.49 ▲1.28 | 47.31 ▼0.88 |
Dashboard /wp-admin | 2,967 ▲33 | 5.94 ▼0.26 | 135.57 ▼11.05 | 110.90 ▼1.37 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.70 ▼0.02 | 75.68 ▲11.54 | 88.22 ▲4.75 |
Add New Post /wp-admin/post-new.php | 1,906 ▲406 | 18.82 ▲0.03 | 367.84 ▼11.34 | 120.67 ▲12.31 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.05 ▲0.00 | 148.65 ▼7.96 | 127.08 ▲2.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'Interface_Meta_Box' not found in wp-content/plugins/wpi-multiple-contributors/wp-contributors-init.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: multiple-contributors, post co-authors, co-authors
wpi-multiple-contributors/wpi-multiple-contributors.php Passed 13 tests
The primary PHP file in "Wpi Multiple Contributors" version 1.0 is used by WordPress to initiate all plugin functionality
56 characters long description:
This plugin displays more than one author-name on a post
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin144 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 28 | 115 |
CSS | 1 | 7 | 0 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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