Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/tractis-identity-verifications/tractis_auth.php+54
Methods with the same name as their class will not be constructors in a future version of PHP; tractis_auth has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼54.64ms] Passed 4 tests
Server-side resources used by Tractis Identity Verifications plugin for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 7.36 ▼34.91 |
Dashboard /wp-admin | 2.15 ▼1.15 | 6.16 ▼44.15 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 6.49 ▼48.73 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 7.06 ▼90.75 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 5.53 ▼32.19 |
Server storage [IO: ▲0.15MB] [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: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Tractis Identity Verifications plugin for Wordpress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.72 ▲0.42 | 2.70 ▲1.02 | 51.35 ▲7.87 |
Dashboard /wp-admin | 2,196 ▲19 | 5.63 ▲0.04 | 86.52 ▼13.89 | 42.18 ▲1.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▲0.03 | 33.63 ▼6.58 | 35.78 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,528 ▼8 | 21.98 ▲3.82 | 677.39 ▲7.15 | 59.93 ▼0.52 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.23 ▲0.07 | 100.54 ▼2.38 | 44.53 ▲0.02 |
Tractis Identity Verifications /wp-admin/tractis_auth.php | 26 | 0.42 | 0.08 | 15.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/tractis-identity-verifications/tractis_auth.php+54
Methods with the same name as their class will not be constructors in a future version of PHP; tractis_auth has a deprecated constructor
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tractis-identity-verifications/views/edit_wp_profile.php
- > /wp-content/plugins/tractis-identity-verifications/views/widget.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tractis-identity-verifications/views/widget.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/tractis-identity-verifications/tractis_profile.php:4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tractis-identity-verifications/tractis_auth.php on line 30
- > PHP Warning
Use of undefined constant TRACTIS_AUTH_PLUGIN_IMAGES - assumed 'TRACTIS_AUTH_PLUGIN_IMAGES' (this will throw an Error in a future version of PHP) in wp-content/plugins/tractis-identity-verifications/views/widget.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/tractis-identity-verifications/views/ui_settings.php:12
- > PHP Notice
Undefined variable: message in wp-content/plugins/tractis-identity-verifications/views/ui_settings.php on line 5
- > PHP Notice
Undefined variable: is_tractis_user in wp-content/plugins/tractis-identity-verifications/views/widget.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tractis-identity-verifications/tractis_auth.php:33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/tractis-identity-verifications/views/widget.php on line 12
- > PHP Notice
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)
There are user-side issues you should fix
- > GET request to /wp-admin/tractis_auth.php
- > Network (severe)
wp-admin/tractis_auth.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
tractis-identity-verifications/tractis_auth.php 85% from 13 tests
The primary PHP file in "Tractis Identity Verifications plugin for Wordpress" version 1.4.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("tractis-identity-verifications.php" instead of "tractis_auth.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected883 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 157 | 118 | 669 |
PO File | 3 | 47 | 50 | 132 |
HTML | 2 | 9 | 0 | 53 |
CSS | 1 | 5 | 1 | 29 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.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
36 PNG files occupy 0.08MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/PNG24/tractis_icon_16x16.png | 0.58KB | 0.53KB | ▼ 8.91% |
images/trac_but_sm_shrt_b_es.png | 1.87KB | 1.40KB | ▼ 25.34% |
images/trac_button_b_es.png | 2.70KB | 2.02KB | ▼ 25.41% |
images/PNG24/tractis_icon_48x48.png | 1.48KB | 1.42KB | ▼ 3.83% |
images/tractis_icon_32x32.png | 1.31KB | 1.08KB | ▼ 17.94% |