10% external-group-rss-tab-extension

Code Review | External Group RSS tab extension

WordPress plugin External Group RSS tab extension scored10%from 54 tests.

About plugin

  • Plugin page: external-group-rs...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: WP 3.5.1, BuddyPress 1.7+
  • WordPress version: 6.3.1
  • First release: Sep 20, 2013
  • Latest release: Oct 17, 2014
  • Number of updates: 6
  • Update frequency: every 65.3 days
  • Top authors: lenasterg (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,587 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
  • Install procedure had errors
    • > Deprecated in wp-content/plugins/external-group-rss-tab-extension/loader.php+17
    define(): Declaration of case-insensitive constants is deprecated

Server metrics [RAM: ▼1.92MB] [CPU: ▼49.77ms] Passed 4 tests

Analyzing server-side resources used by External Group RSS tab extension
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.06 ▼1.404.37 ▼37.84
Dashboard /wp-admin2.08 ▼1.2210.34 ▼38.88
Posts /wp-admin/edit.php2.08 ▼1.276.51 ▼40.50
Add New Post /wp-admin/post-new.php2.08 ▼3.805.35 ▼81.87
Media Library /wp-admin/upload.php2.08 ▼1.155.56 ▼28.67

Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for External Group RSS tab extension
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.52 ▼0.841.64 ▼0.1342.47 ▼1.58
Dashboard /wp-admin2,203 ▲155.83 ▼0.0598.96 ▼19.4039.39 ▼3.99
Posts /wp-admin/edit.php2,092 ▲62.05 ▼0.0139.61 ▲4.4835.22 ▲1.01
Add New Post /wp-admin/post-new.php1,537 ▲923.23 ▲4.79670.31 ▲38.8754.40 ▼8.92
Media Library /wp-admin/upload.php1,388 ▼34.19 ▼0.03107.09 ▲8.1746.07 ▲2.06

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-content/plugins/external-group-rss-tab-extension/loader.php+17
    define(): Declaration of case-insensitive constants is deprecated
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/external-group-rss-tab-extension/loader.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 79% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
  • Requires at least: Invalid version format
  • Tested up to: Invalid version format
  • Screenshots: Screenshot #1 (New tab (External Blogs) in group navigation bar) image required
The official readme.txt is a good inspiration

external-group-rss-tab-extension/loader.php 77% from 13 tests

"External Group RSS tab extension" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Description: The description should be shorter than 140 characters (currently 210 characters long)
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("external-group-rss-tab-extension.php" instead of "loader.php")
  • Requires at least: Required version number formatted incorrectly (ex. "7.0" instead of "WP 3.5.1, BuddyPress 1.7")

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
Good job! No executable or dangerous file extensions detected130 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP22938127
CSS1003

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity11.00
▷ Minimum class complexity11.00
▷ Maximum class complexity11.00
Average method complexity6.00
▷ Minimum method complexity6.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants11
▷ Global constants11100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/world_16x16.png0.90KB1.05KB0.00%
screenshot-1.png87.89KB36.17KB▼ 58.84%