Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.63ms] Passed 4 tests
An overview of server-side resources used by wp-deadorxp
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.21 ▼2.48 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.16 ▼7.50 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.77 ▲0.69 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 84.96 ▼3.35 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.60 ▼5.17 |
wp-deadorxp /wp-admin/options-general.php?page=wp-deadorxp | 3.21 | 28.36 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wp_deadorxp_text |
widget_recent-comments |
widget_theysaidso_widget |
wp_deadorxp_design |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for wp-deadorxp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲116 | 13.75 ▼0.98 | 7.35 ▲5.45 | 41.44 ▼7.06 |
Dashboard /wp-admin | 2,193 ▲16 | 5.52 ▼0.02 | 80.73 ▼14.83 | 35.82 ▼8.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.06 | 36.36 ▲0.33 | 32.24 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,604 ▲78 | 23.40 ▲0.23 | 672.37 ▼45.03 | 55.02 ▼3.09 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.07 | 94.17 ▼6.35 | 41.50 ▼0.96 |
wp-deadorxp /wp-admin/options-general.php?page=wp-deadorxp | 821 | 2.03 | 22.21 | 104.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- wp_deadorxp_design
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- wp_deadorxp_text
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
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-deadorxp/wp-deadorxp.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-deadorxp ===
)
wp-deadorxp/wp-deadorxp.php Passed 13 tests
This is the main PHP file of "wp-deadorxp" version 0.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Windows XP利用者に警告を表示するプラグインです。
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected177 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 31 | 93 |
CSS | 2 | 0 | 3 | 84 |
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.15 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin