Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-includes/class-wpdb.php+2035
mysqli_real_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.61ms] Passed 4 tests
An overview of server-side resources used by Display Xenforo Node
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.30 ▼6.80 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.77 ▼18.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.17 ▼2.39 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.29 ▼15.04 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.15 ▲4.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/display-xenforo-node/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Display Xenforo Node
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.48 ▼0.11 | 1.74 ▼0.21 | 41.81 ▼1.65 |
Dashboard /wp-admin | 2,221 ▲21 | 4.87 ▼1.01 | 110.10 ▼15.10 | 39.26 ▼5.24 |
Posts /wp-admin/edit.php | 2,100 ▼1 | 2.01 ▲0.02 | 37.37 ▼0.37 | 34.34 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,545 ▲13 | 23.22 ▼0.12 | 650.12 ▼55.64 | 55.42 ▼2.74 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.27 ▲0.01 | 97.53 ▼6.29 | 42.65 ▼2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/display-xenforo-node/wpdxfn_main.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/display-xenforo-node/wpdxfn_admin.php:28
- > PHP Notice
Undefined index: wpdxfn_hidden in wp-content/plugins/display-xenforo-node/wpdxfn_admin.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tested up to: Invalid version format
display-xenforo-node/wpdxfn_main.php 85% from 13 tests
The entry point to "Display Xenforo Node" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 180 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("display-xenforo-node.php" instead of "wpdxfn_main.php")
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
There were no executable files found in this plugin169 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 15 | 169 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin