Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.23ms] Passed 4 tests
This is a short check of server-side resources used by System Requirements Check
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.73 ▼4.52 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.08 ▼4.24 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 55.87 ▲3.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 102.83 ▼0.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.68 ▼0.14 |
System Requirements Check /wp-admin/options-general.php?page=system_requirements_check | 3.30 | 34.18 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 32 new options
New WordPress options |
---|
windows_10 |
ip |
disable_os_check |
windows_81 |
widget_theysaidso_widget |
jre |
screen_h |
widget_recent-posts |
edge |
js |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for System Requirements Check
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲44 | 13.28 ▲0.04 | 1.99 ▼0.10 | 44.98 ▲1.24 |
Dashboard /wp-admin | 2,209 ▲3 | 4.84 ▼0.02 | 99.02 ▼12.15 | 40.18 ▼2.57 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.05 ▼0.08 | 40.56 ▲5.06 | 36.23 ▲2.71 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.43 ▼5.11 | 628.63 ▼7.55 | 52.39 ▲1.02 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▼0.06 | 95.40 ▼12.69 | 40.56 ▼6.28 |
System Requirements Check /wp-admin/options-general.php?page=system_requirements_check | 1,119 | 2.03 | 29.98 | 56.23 |
Uninstaller [IO: ✅] [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: 32 options
- js
- db_upgraded
- screen
- edge
- host_ip
- widget_theysaidso_widget
- ip
- disable_screen_check
- cookie
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/system-requirements-check/includes/admin/system-requirements-check-settings-donation.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/system-requirements-check/includes/admin/system-requirements-check-settings-form.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== system-requirements-check ===
) - Tags: You are using too many tags: 15 tag instead of maximum 10
system-requirements-check/system-requirements-check.php 92% from 13 tests
This is the main PHP file of "System Requirements Check" version 1.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 413 characters long)
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
Success! There were no dangerous files found in this plugin767 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 294 | 212 | 681 |
CSS | 3 | 2 | 1 | 81 |
JavaScript | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview 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.46 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 4.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin