Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/xxxp/xxxp.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; xxxp has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼58.79ms] Passed 4 tests
An overview of server-side resources used by xxxp
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.38 | 4.47 ▼39.12 |
Dashboard /wp-admin | 2.11 ▼1.24 | 6.51 ▼67.83 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.48 ▼39.43 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 5.68 ▼88.78 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.06 ▼25.11 |
xxxp /wp-admin/options-general.php?page=xxxp/xxxp.php | 2.11 | 6.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_xxxp |
Browser metrics Passed 4 tests
Checking browser requirements for xxxp
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲222 | 14.20 ▼0.24 | 7.04 ▲4.96 | 43.57 ▼0.77 |
Dashboard /wp-admin | 2,225 ▲37 | 5.05 ▲0.17 | 102.73 ▼2.72 | 48.52 ▲8.86 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.13 ▲0.14 | 39.16 ▼0.85 | 38.47 ▲3.24 |
Add New Post /wp-admin/post-new.php | 1,521 ▼7 | 23.27 ▲4.95 | 690.01 ▲79.32 | 63.64 ▲18.49 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.29 ▲0.08 | 111.95 ▲11.38 | 57.75 ▲14.16 |
xxxp /wp-admin/options-general.php?page=xxxp/xxxp.php | 831 | 1.91 | 29.54 | 56.23 |
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
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/xxxp/xxxp.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; xxxp has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_xxxp
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > Deprecated in wp-content/plugins/xxxp/xxxp.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; xxxp has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery.clientenv.js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the xxxp_js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > Deprecated in wp-content/plugins/xxxp/xxxp.php+116
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in xxxp is deprecated since version 4.3.0! Use __construct() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > Notice in wp-content/plugins/xxxp/xxxp.php+149
Trying to access array offset on value of type bool
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 fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/xxxp/xxxp.php:28
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=xxxp/xxxp.php
- > Network (severe)
https://pbs.twimg.com/profile_images/2074468470/_______mini.jpg - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid url: ""
xxxp/xxxp.php Passed 13 tests
This is the main PHP file of "xxxp" version 0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
96 characters long description:
xxxp(ぺけぺけえっくすぴー) is plug in which can give warning for a user of Windows XP.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin193 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 26 | 138 |
JavaScript | 2 | 0 | 12 | 55 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin