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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.12ms] Passed 4 tests
This is a short check of server-side resources used by WP Over Network
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 53.67 ▲8.75 |
Dashboard /wp-admin | 3.39 ▲0.08 | 54.56 ▼0.88 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.83 ▲2.78 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.78 ▼8.97 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.40 ▼1.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_wponw-reset-post-widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP Over Network
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.18 | 2.05 ▲0.37 | 41.43 ▼1.94 |
Dashboard /wp-admin | 2,198 ▲27 | 5.57 ▲0.05 | 95.43 ▲6.31 | 41.81 ▼5.53 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.01 | 36.44 ▲1.63 | 36.17 ▼4.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.15 ▼0.29 | 637.69 ▼46.79 | 55.32 ▼6.20 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.02 | 101.90 ▼13.43 | 47.28 ▼1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_wponw-reset-post-widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-over-network/templates/archive-simple.php
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-over-network/templates/widget-form.php:2
- > PHP Notice
Undefined variable: posts in wp-content/plugins/wp-over-network/templates/archive-simple.php on line 4
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wp-over-network/templates/archive-simple.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-over-network/wp-over-network.php:11
- > PHP Notice
Undefined variable: widget_title_id in wp-content/plugins/wp-over-network/templates/widget-form.php on line 2
- > PHP Notice
Undefined variable: posts in wp-content/plugins/wp-over-network/templates/widget.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-over-network/WPONW_RecentPostsWidget.php:9
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("None currently.")
wp-over-network/wp-over-network.php Passed 13 tests
The main PHP script in "WP Over Network" version 0.4.4 is automatically included on every request by WordPress
39 characters long description:
Utilities for network site on WordPress
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
No dangerous file extensions were detected487 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 112 | 147 | 444 |
PO File | 1 | 16 | 21 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 21 | |
▷ Static methods | 15 | 71.43% |
▷ Public methods | 18 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected