Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.49ms] Passed 4 tests
Analyzing server-side resources used by XRDS-Simple
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.31 ▼13.31 |
Dashboard /wp-admin | 3.31 ▲0.01 | 70.43 ▲15.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.74 ▼7.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.24 ▼8.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.82 ▲3.07 |
XRDS-Simple /wp-admin/options-general.php?page=xrds-simple | 3.20 | 33.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for XRDS-Simple
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲19 | 13.26 ▼1.18 | 1.78 ▼0.25 | 42.50 ▼5.60 |
Dashboard /wp-admin | 2,210 ▲4 | 5.86 ▼0.05 | 108.13 ▲0.05 | 37.72 ▼5.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.06 | 35.01 ▼5.35 | 37.44 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 23.12 ▲5.04 | 615.93 ▼44.58 | 65.31 ▲4.02 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.34 ▲0.16 | 105.94 ▲5.76 | 45.03 ▲2.87 |
XRDS-Simple /wp-admin/options-general.php?page=xrds-simple | 780 | 2.01 | 25.36 | 27.66 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xrds-simple/xrds-simple.php:94
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: discovery, xrds-simple, xrds
xrds-simple/xrds-simple.php Passed 13 tests
The main PHP script in "XRDS-Simple" version 1.2.1 is automatically included on every request by WordPress
68 characters long description:
Provides framework for other plugins to advertise services via XRDS.
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
No dangerous file extensions were detected157 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 87 | 157 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected