Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.55MB] [CPU: ▼2.67ms] Passed 4 tests
An overview of server-side resources used by RDP Linkedin Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 45.27 ▲3.08 |
Dashboard /wp-admin | 3.87 ▲0.57 | 46.87 ▼3.12 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 49.16 ▲0.16 |
Add New Post /wp-admin/post-new.php | 6.54 ▲0.66 | 87.79 ▼10.78 |
Media Library /wp-admin/upload.php | 3.81 ▲0.58 | 38.68 ▲4.96 |
RDP Linkedin Login /wp-admin/options-general.php?page=rdp-linkedin-login | 3.67 | 33.01 |
Server storage [IO: ▲2.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_rdp_ll_session |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for RDP Linkedin Login
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲186 | 13.71 ▼0.91 | 5.95 ▲3.80 | 39.82 ▼6.88 |
Dashboard /wp-admin | 2,212 ▲24 | 4.84 ▼0.06 | 101.91 ▼9.50 | 39.13 ▼2.05 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.01 ▲0.00 | 39.00 ▼1.01 | 34.91 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.36 ▼4.56 | 603.25 ▼2.21 | 53.68 ▲2.71 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.23 ▲0.04 | 100.69 ▼1.22 | 45.50 ▲3.22 |
RDP Linkedin Login /wp-admin/options-general.php?page=rdp-linkedin-login | 1,015 | 2.02 | 24.74 | 37.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_rdp_ll_session
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 0% 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
Almost there! Just fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/rdp-linkedin-login/pl/rdpLLAdminMenu.php
- > /wp-content/plugins/rdp-linkedin-login/bl/rdpLLDatapass.php
- > /wp-content/plugins/rdp-linkedin-login/pl/rdpLL.php
- > /wp-content/plugins/rdp-linkedin-login/bl/utilities.php
- > /wp-content/plugins/rdp-linkedin-login/bl/rdpLLUtilities.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_current_blog_id() in wp-content/plugins/rdp-linkedin-login/pl/rdpLLLogin.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== rdp-linkedin-login ===
) - Screenshots: These screenshots require images: #1 (Log-in button in sidebar.), #2 (Pop-up actions menu for logged-in user. Additional custom links can be added via the settings page and/or PHP coding.), #3 (Settings page.)
rdp-linkedin-login/index.php 92% from 13 tests
The main PHP script in "RDP Linkedin Login" version 1.7.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("rdp-linkedin-login.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin19,980 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 0 | 0 | 9,728 |
CSS | 3 | 188 | 29 | 6,813 |
PHP | 9 | 557 | 371 | 2,808 |
SVG | 1 | 464 | 0 | 476 |
JavaScript | 4 | 43 | 27 | 155 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 65.44 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 200 | |
▷ Static methods | 48 | 24.00% |
▷ Public methods | 172 | 86.00% |
▷ Protected methods | 16 | 8.00% |
▷ Private methods | 12 | 6.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 26 | |
▷ Global constants | 25 | 96.15% |
▷ Class constants | 1 | 3.85% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.58MB with 0.29MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pl/images/js-signin.png | 2.41KB | 0.72KB | ▼ 69.98% |
screenshot-3.png | 480.35KB | 169.32KB | ▼ 64.75% |
screenshot-1.png | 24.89KB | 12.22KB | ▼ 50.89% |
pl/images/ghost_person_60x60_v1.png | 0.34KB | 0.39KB | 0.00% |
screenshot-2.png | 80.72KB | 30.07KB | ▼ 62.75% |