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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼11.79ms] Passed 4 tests
A check of server-side resources used by Multisite Global Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.10 ▼6.72 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.98 ▼5.76 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.56 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.18 ▼33.57 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.89 ▼1.10 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Multisite Global Search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.72 ▲0.17 | 1.98 ▲0.19 | 45.65 ▲1.79 |
Dashboard /wp-admin | 2,206 ▲26 | 5.51 ▼0.15 | 87.32 ▼3.85 | 42.40 ▲5.87 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.03 ▲0.06 | 40.12 ▲1.08 | 37.57 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.93 ▲0.79 | 624.67 ▼10.90 | 60.43 ▲1.11 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.19 ▲0.03 | 99.68 ▼1.76 | 43.95 ▼4.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/multisite-global-search/multisite-global-search.php:31
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multisite-global-search/inc/class.widgets.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Widget configuration.), #2 (Vertical Global Search widget.), #3 (Horizontal Global Search widget.)
multisite-global-search/multisite-global-search.php 92% from 13 tests
The entry point to "Multisite Global Search" version 1.2.14 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "WordPress 3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,990 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 483 | 925 | 1,180 |
PHP | 6 | 128 | 160 | 734 |
CSS | 1 | 20 | 5 | 76 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.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
3 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 15.32KB | 5.10KB | ▼ 66.72% |
screenshot-1.png | 22.87KB | 7.28KB | ▼ 68.16% |
screenshot-2.png | 18.31KB | 5.93KB | ▼ 67.61% |