Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.40ms] Passed 4 tests
This is a short check of server-side resources used by MB Relationships
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.64 ▲0.66 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.14 ▼3.27 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 44.44 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 87.70 ▼10.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 33.72 ▼2.71 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_mb_relationships |
New WordPress options |
---|
mbr_table_created |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MB Relationships
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.33 ▼0.44 | 1.74 ▼0.06 | 44.41 ▲0.14 |
Dashboard /wp-admin | 2,198 ▲21 | 5.50 ▼0.06 | 92.03 ▼14.81 | 40.53 ▼5.19 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.94 ▼0.01 | 40.82 ▼0.22 | 37.01 ▲0.75 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.12 ▼0.46 | 596.19 ▼96.39 | 54.51 ▼3.79 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▲0.03 | 99.18 ▼12.67 | 43.34 ▼5.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_mb_relationships
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- mbr_table_created
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'MBR_Object_Interface' not found in wp-content/plugins/mb-relationships/inc/object/post.php:12
- > PHP Fatal error
Uncaught Error: Interface 'MBR_Object_Interface' not found in wp-content/plugins/mb-relationships/inc/object/user.php:12
- > PHP Fatal error
Uncaught Error: Interface 'MBR_Object_Interface' not found in wp-content/plugins/mb-relationships/inc/object/term.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: post relationships, relationships, connection, connections, relationship...
mb-relationships/mb-relationships.php 92% from 13 tests
The main PHP script in "MB Relationships" version 1.11.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,596 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 359 | 1,186 | 1,596 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 149 | |
▷ Static methods | 16 | 10.74% |
▷ Public methods | 118 | 79.19% |
▷ Protected methods | 9 | 6.04% |
▷ Private methods | 22 | 14.77% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
PNG images were not found in this plugin