73% radix-helper

Code Review | Radix Helper

WordPress plugin Radix Helper scored73%from 54 tests.

About plugin

  • Plugin page: radix-helper
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.9.6
  • WordPress version: 6.3.1
  • First release: Jun 3, 2018
  • Latest release: Jul 19, 2018
  • Number of updates: 11
  • Update frequency: every 4.4 days
  • Top authors: codeglimthemes (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,596 total downloads

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
Installer ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼4.35ms] Passed 4 tests

Server-side resources used by Radix Helper
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1740.39 ▲1.05
Dashboard /wp-admin3.47 ▲0.1247.80 ▼10.28
Posts /wp-admin/edit.php3.58 ▲0.2252.51 ▲0.59
Add New Post /wp-admin/post-new.php6.07 ▲0.1893.83 ▼8.74
Media Library /wp-admin/upload.php3.39 ▲0.1636.32 ▲2.75
Radix Helper /wp-admin/themes.php?page=radix_helper3.5136.04

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Radix Helper: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲6213.61 ▼0.751.62 ▼0.0445.73 ▲6.75
Dashboard /wp-admin2,214 ▲264.85 ▼1.05107.94 ▼1.2340.44 ▼3.29
Posts /wp-admin/edit.php2,097 ▲52.03 ▲0.0241.17 ▼12.9534.74 ▼12.77
Add New Post /wp-admin/post-new.php1,521 ▲223.22 ▲0.02662.23 ▲4.6658.21 ▲1.13
Media Library /wp-admin/upload.php1,393 ▲54.20 ▼0.04103.08 ▲7.4046.36 ▲3.14
Radix Helper /wp-admin/themes.php?page=radix_helper7652.0825.1622.95

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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
Please fix the following items
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/radix-helper/radix-helper.php
  • 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/radix-helper/inc/Api/Callbacks/AdminCallbacks.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/radix-helper/inc/Base/RepeaterController.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/radix-helper/templates/admin.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/radix-helper/enqueue.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/radix-helper/inc/Base/SettingsLinks.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Inc\\Base\\BaseController' not found in wp-content/plugins/radix-helper/inc/Pages/Admin.php:11

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/themes.php?page=radix_helper
    • > Console-api (warning) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).sortable is not a function" "TypeError: $(...).sortable is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/radix-helper/assets/radix-helper-scripts.js?ver=6.3.1:120:42)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
    • > GET request to /wp-admin/themes.php?page=radix_helper
    • > Javascript (severe) in unknown
    /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).sortable is not a function

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
1 plugin tags: themes

radix-helper/radix-helper.php Passed 13 tests

The main file in "Radix Helper" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
34 characters long description:
Used for Radix Multipurpose theme.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,474 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP211513361,200
CSS1243150
JavaScript1275106
JSON20018

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity6.18
▷ Minimum class complexity1.00
▷ Maximum class complexity45.00
Average method complexity2.54
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
Namespaces6
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes19.09%
Methods38
▷ Static methods821.05%
▷ Public methods3694.74%
▷ Protected methods00.00%
▷ Private methods25.26%
Functions9
▷ Named functions888.89%
▷ Anonymous functions111.11%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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 files were detected