Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.62ms] Passed 4 tests
An overview of server-side resources used by Regcheck
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.49 ▼4.25 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.43 ▼2.90 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 50.58 ▲2.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 96.94 ▲0.74 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.46 ▼0.07 |
Regcheck /wp-admin/tools.php?page=regcheck-car-option | 3.31 | 34.60 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Regcheck: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.26 ▲0.02 | 2.51 ▲0.20 | 40.98 ▼4.52 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▲0.09 | 83.46 ▼17.45 | 41.97 ▼2.06 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.02 | 40.24 ▲2.95 | 34.95 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,529 ▼0 | 23.05 ▼0.20 | 644.27 ▲37.10 | 50.66 ▲1.93 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.27 ▲0.08 | 98.66 ▼4.75 | 42.92 ▼6.50 |
Regcheck /wp-admin/tools.php?page=regcheck-car-option | 1,468 | 2.12 | 22.84 | 25.36 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/regcheck/recaptcha/ReCaptcha/RequestMethod/CurlPost.php:37
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/regcheck/recaptcha/ReCaptcha/RequestMethod/SocketPost.php:37
- > PHP Fatal error
Uncaught Error: Interface 'ReCaptcha\\RequestMethod' not found in wp-content/plugins/regcheck/recaptcha/ReCaptcha/RequestMethod/Post.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: vin checker, car checker, number car checker
regcheck/regcheck.php 92% from 13 tests
Analyzing the main PHP file in "Regcheck" version 1.0.2
It is important to fix the following:
- Description: A good plugin description is longer than 10 characters (currently 8 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin970 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 153 | 498 | 863 |
CSS | 2 | 22 | 0 | 107 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 17 | 38.64% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.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
No PNG images were found in this plugin