Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.61MB] [CPU: ▼45.12ms] Passed 4 tests
Analyzing server-side resources used by RDP inGroups+
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.25 ▼0.21 | 18.00 ▼22.75 |
Dashboard /wp-admin | 3.45 ▲0.10 | 21.47 ▼42.05 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 19.58 ▼30.34 |
Add New Post /wp-admin/post-new.php | 3.45 ▼2.44 | 17.75 ▼85.34 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 20.32 ▼14.86 |
RDP inGroups+ /wp-admin/options-general.php?page=rdp-ligroups | 3.45 | 18.47 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 67 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for RDP inGroups+
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 13.65 ▼0.79 | 8.91 ▲7.18 | 43.51 ▲3.75 |
Dashboard /wp-admin | 2,212 ▲27 | 5.84 ▲0.91 | 98.97 ▼9.21 | 39.10 ▼2.64 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.06 ▲0.04 | 39.75 ▼1.24 | 36.12 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,600 ▲67 | 17.43 ▼5.91 | 702.79 ▲51.93 | 59.15 ▼1.23 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.27 ▲0.08 | 92.81 ▼2.85 | 40.02 ▼3.83 |
RDP inGroups+ /wp-admin/options-general.php?page=rdp-ligroups | 1,164 | 2.07 | 22.60 | 34.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/rdp-ingroups/bl/rdpLIGBrowser.php+40
Methods with the same name as their class will not be constructors in a future version of PHP; RDP_LIG_Browser has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=rdp-ligroups
- > Deprecated in wp-content/plugins/rdp-ingroups/bl/rdpLIGBrowser.php+40
Methods with the same name as their class will not be constructors in a future version of PHP; RDP_LIG_Browser has a deprecated constructor
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
Please fix the following
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGGroup.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGDatapass.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGReferencedItem.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGBrowser.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGLoader.php
- > /wp-content/plugins/rdp-ingroups/ws/rss.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGCompany.php
- > /wp-content/plugins/rdp-ingroups/pl/rdpLIG.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGGroupProfile.php
- > /wp-content/plugins/rdp-ingroups/bl/rdpLIGGroups.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/rdp-ingroups/pl/rdpLIGLogin.php:19
- > 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 on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== rdp-ingroups ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (Login button shortcode in sidebar.), #2 (Group shortcode, using the ID attribute to specify a LinkedIn group, embedded in a page. Notice that the user is not logged in. The first ten discussions have been scrapped from LinkedIn and displayed. If the group is open, a public RSS feed is made available, displaying the five most recent discussions.), #3 (Group shortcode, using the ID attribute to specify a LinkedIn group, embedded in a page and with the user logged in.), #4 (Popup action menu for logged-in user. Additional custom links can be added with a little PHP coding.), #5 (Single discussion as seen by a non-logged-in visitor - must log in to see comments.), #6 (Single discussion as seen by a logged-in user.), #7 (Offer sharing of single discussions, using the Bitly API.), #8 (Settings page.), #9 (Button to launch the shortcode embed helper form), #10 (How to find a group ID), #11 (Discussion URL dissected)
rdp-ingroups/index.php 92% from 13 tests
"RDP inGroups+" version 1.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rdp-ingroups.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin11,961 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 176 | 14 | 6,403 |
PHP | 18 | 883 | 802 | 4,785 |
JavaScript | 10 | 144 | 42 | 773 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 52.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 198.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 313 | |
▷ Static methods | 74 | 23.64% |
▷ Public methods | 220 | 70.29% |
▷ Protected methods | 59 | 18.85% |
▷ Private methods | 34 | 10.86% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 81 | |
▷ Global constants | 24 | 29.63% |
▷ Class constants | 57 | 70.37% |
▷ Public constants | 57 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 0.62MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pl/images/rss-icon.png | 1.47KB | 1.41KB | ▼ 4.12% |
pl/images/notice-icon.png | 0.44KB | 0.29KB | ▼ 32.44% |
screenshot-5.png | 50.94KB | 18.03KB | ▼ 64.61% |
pl/images/sprite_sharing_v13.png | 3.72KB | 3.50KB | ▼ 6.01% |
screenshot-3.png | 83.38KB | 29.93KB | ▼ 64.10% |