Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.91ms] Passed 4 tests
Analyzing server-side resources used by WPMU copy options
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.44 ▼4.02 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.19 ▼17.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.88 ▼0.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.48 ▼17.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.53 ▼1.20 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WPMU copy options
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.20 | 1.63 ▼0.22 | 40.16 ▼3.68 |
Dashboard /wp-admin | 2,209 ▲21 | 4.89 ▼0.02 | 102.56 ▼12.67 | 40.90 ▼1.94 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▲0.00 | 39.77 ▼1.34 | 34.06 ▼4.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.26 ▼0.07 | 679.50 ▲35.18 | 62.35 ▲6.04 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.26 ▲0.02 | 105.49 ▲10.18 | 46.50 ▲4.57 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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
Please fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wpmu-copy-options/views/show_submitlist.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpmu-copy-options/wpmu-copy-options.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wpmu-copy-options/views/show_optionlist.php:2
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 require images: #1 (Select source blog), #2 (Press edit button to edit option value and press "Save" button), #3 (Select options and blogs to apply), #4 (Result log)
- Requires at least: Invalid version format
wpmu-copy-options/wpmu-copy-options.php Passed 13 tests
The primary PHP file in "WPMU copy options" version 1.0.0 is used by WordPress to initiate all plugin functionality
57 characters long description:
Copy any option from selected blog to other blogs in WPMU
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
Success! There were no dangerous files found in this plugin347 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 68 | 30 | 277 |
PO File | 1 | 51 | 86 | 47 |
CSS | 1 | 3 | 0 | 23 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin