Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.97ms] Passed 4 tests
This is a short check of server-side resources used by WPArtisan Multisite Crossposter
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.46 ▼0.21 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.58 ▼6.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.69 ▼0.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.47 ▼3.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.97 ▼9.16 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
WPArtisan Multisite Crossposter: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.21 | 1.67 ▼0.44 | 43.37 ▼2.19 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.05 | 87.25 ▼5.30 | 40.04 ▼1.58 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.00 ▲0.03 | 40.22 ▲2.75 | 35.10 ▲1.16 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 21.03 ▲2.76 | 674.37 ▲28.74 | 47.20 ▼22.18 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▼0.05 | 97.61 ▼7.69 | 44.03 ▼1.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
4 plugin tags: wpmu, multisite, crossposting, posts
wpartisan-multisite-crossposter/wpa-multisite-crossposter.php 92% from 13 tests
The main PHP file in "WPArtisan Multisite Crossposter" ver. 0.1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpartisan-multisite-crossposter.php" instead of "wpa-multisite-crossposter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected9,918 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 50 | 2,390 | 613 | 9,011 |
PHP | 4 | 208 | 476 | 464 |
CSS | 2 | 57 | 0 | 426 |
YAML | 1 | 5 | 0 | 17 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected