Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.51MB] [CPU: ▼16.07ms] Passed 4 tests
This is a short check of server-side resources used by Logintap API
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 41.59 ▲5.23 |
Dashboard /wp-admin | 3.46 ▲0.15 | 48.72 ▼0.33 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 50.00 ▼1.19 |
Add New Post /wp-admin/post-new.php | 3.33 ▼2.55 | 39.86 ▼64.84 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.67 ▲2.10 |
Logintap API /wp-admin/options-general.php?page=logintap_api | 3.35 | 31.76 |
Server storage [IO: ▲0.04MB] [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: 16 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_lt_auth_sessions |
New WordPress options |
---|
widget_recent-comments |
logintap_api_password |
db_upgraded |
logintap_api_tenant |
logintap_api_login |
theysaidso_admin_options |
can_compress_scripts |
logintap_api_appuuid |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Logintap API
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,717 ▼18 | 7.93 ▼6.62 | 1.87 ▲0.03 | 44.58 ▲6.38 |
Dashboard /wp-admin | 2,217 ▲29 | 5.90 ▼0.01 | 103.52 ▼1.14 | 45.79 ▲6.69 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.00 ▼0.01 | 40.69 ▲0.33 | 35.40 ▲1.26 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 18.32 ▼4.96 | 599.22 ▼28.60 | 61.60 ▲4.21 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.24 ▼0.02 | 94.83 ▼2.24 | 40.67 ▼2.31 |
Logintap API /wp-admin/options-general.php?page=logintap_api | 822 | 2.03 | 23.32 | 24.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/logintap-api/inc/settings-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/logintap-api/logintap-api.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=logintap_api
- > Network (severe)
https://-admin.logintap.com/front/dist/qrw/mbst-qrw.js?t=1696335998&ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: 2fa, authentication, webauthn, second factor, faceid auth...
logintap-api/logintap-api.php Passed 13 tests
The entry point to "Logintap API" version 1.0.0.3 is a PHP file that has certain tags in its header comment area
24 characters long description:
Logintap API integration
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
There were no executable files found in this plugin1,075 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 183 | 233 | 802 |
CSS | 2 | 9 | 2 | 167 |
JavaScript | 2 | 19 | 0 | 71 |
HTML | 2 | 3 | 0 | 35 |
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.26 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 42 | |
▷ Named functions | 36 | 85.71% |
▷ Anonymous functions | 6 | 14.29% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin