Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.43ms] Passed 4 tests
Server-side resources used by WPMU LinkManager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.36 ▼6.73 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.60 ▼0.29 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.12 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.05 ▼8.02 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.05 ▲1.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WPMU LinkManager: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.07 | 1.64 ▼0.17 | 37.24 ▼12.53 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▼0.02 | 102.34 ▼2.58 | 38.13 ▼4.91 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▼0.11 | 39.84 ▲3.10 | 38.95 ▲6.06 |
Add New Post /wp-admin/post-new.php | 1,533 ▲12 | 23.17 ▲0.08 | 652.17 ▼0.09 | 57.71 ▲1.46 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.22 ▲0.01 | 97.33 ▼2.76 | 42.07 ▼0.55 |
Uninstaller [IO: ▲0.03MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpmu-linkmanager/uninstall.php+13
Undefined variable: wpdb
- The plugin did not uninstall correctly, leaving 8 files (0.03MB) in the plugin directory
- (new file) delete.png
- (new file) wpmu_linkmanager.php
- (new file) i18n/wplerlm-de_DE.pot
- (new file) readme.txt
- (new file) i18n/wplerlm-de_DE.mo
- (new file) i18n/wplerlm-de_DE.po
- (new file) pencil.png
- (new file) uninstall.php
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- recovery_mode_email_last_sent
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wpmu-linkmanager/wpmu_linkmanager.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: links, footer, multisite
wpmu-linkmanager/wpmu_linkmanager.php 77% from 13 tests
This is the main PHP file of "WPMU LinkManager" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 230 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpmu-linkmanager.php" instead of "wpmu_linkmanager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin357 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 5 | 138 | 265 |
PO File | 1 | 33 | 0 | 92 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 11 | |
▷ Static methods | 4 | 36.36% |
▷ 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 | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
delete.png | 0.70KB | 0.72KB | 0.00% |
pencil.png | 0.44KB | 0.38KB | ▼ 13.11% |