Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.29ms] Passed 4 tests
This is a short check of server-side resources used by TNC Display Bookmark In WP-Login Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.58 ▲1.35 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.14 ▼3.61 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.25 ▼3.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.94 ▼18.92 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.73 ▲2.52 |
Add New /wp-admin/link-add.php | 3.22 | 30.85 |
All Links /wp-admin/link-manager.php | 3.22 | 30.08 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.23 | 32.02 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_links |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for TNC Display Bookmark In WP-Login Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲93 | 13.25 ▼1.13 | 4.59 ▲2.88 | 47.61 ▲6.10 |
Dashboard /wp-admin | 2,237 ▲82 | 6.05 ▲0.38 | 109.87 ▲10.74 | 39.99 ▲1.27 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▼0.01 | 39.04 ▼2.32 | 35.07 ▼2.89 |
Add New Post /wp-admin/post-new.php | 1,540 ▲18 | 17.51 ▼5.69 | 654.75 ▲35.68 | 57.93 ▲6.19 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.28 ▲0.05 | 102.71 ▼2.34 | 44.63 ▲0.37 |
Add New /wp-admin/link-add.php | 1,644 | 2.23 | 46.24 | 32.54 |
All Links /wp-admin/link-manager.php | 1,056 | 1.73 | 23.07 | 28.76 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,296 | 2.13 | 25.13 | 30.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_links
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tnc-display-bookmark-in-wp-login-page/index.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tested up to: Invalid plugin version format
tnc-display-bookmark-in-wp-login-page/index.php 92% from 13 tests
The main PHP script in "TNC Display Bookmark In WP-Login Page" version 1.6 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tnc-display-bookmark-in-wp-login-page.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin22 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 13 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin