84% rundizable-wp-features

Code Review | Rundizable WP Features

WordPress plugin Rundizable WP Features scored 84% from 54 tests.

About plugin

  • Plugin page: rundizable-wp-fea...
  • Plugin version: 0.2.5
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6.0-6.1
  • WordPress version: 6.3.1
  • First release: Jun 14, 2018
  • Latest release: Dec 20, 2022
  • Number of updates: 9
  • Update frequency: every 183.3 days
  • Top authors: okvee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 904 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.24MB] [CPU: ▼4.97ms] Passed 4 tests

This is a short check of server-side resources used by Rundizable WP Features
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2740.50 ▲1.97
Dashboard /wp-admin3.64 ▲0.3346.19 ▲0.21
Posts /wp-admin/edit.php3.67 ▲0.3143.79 ▼4.83
Add New Post /wp-admin/post-new.php6.12 ▲0.2382.80 ▼9.76
Media Library /wp-admin/upload.php3.37 ▲0.1428.10 ▼5.51
Rundizable WP Features /wp-admin/options-general.php?page=rundizable-wp-features-settings3.4831.87

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
rundizable_wp_features_optname
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Rundizable WP Features
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,752 ▲1713.24 ▼1.041.78 ▲0.1340.26 ▼14.28
Dashboard /wp-admin2,161 ▼315.83 ▲0.9199.20 ▼8.4138.83 ▼8.39
Posts /wp-admin/edit.php2,038 ▼541.98 ▼0.0334.22 ▼9.3133.28 ▼3.24
Add New Post /wp-admin/post-new.php1,502 ▼4018.14 ▼0.19599.44 ▼42.7351.43 ▼15.02
Media Library /wp-admin/upload.php2,161 ▲7735.72 ▲1.4681.51 ▼24.8636.88 ▼5.50
Rundizable WP Features /wp-admin/options-general.php?page=rundizable-wp-features-settings9332.0827.0541.48

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 8× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function RundizableWpFeatures\\App\\add_action() in wp-content/plugins/rundizable-wp-features/App/App.php:38
    • > PHP Fatal error
      Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Admin/Activation.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/rundizable-wp-features/App/config/settings_rdawpf.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/rundizable-wp-features/App/Views/admin/settings_v.php:2
    • > PHP Fatal error
      Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Admin/Settings.php:12
    • > PHP Fatal error
      Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisableMedia.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisableFrontEnd.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'RundizableWpFeatures\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rundizable-wp-features/App/Controllers/Hooks/DisablePages.php:10

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: front-end, media, pages, disable features

rundizable-wp-features/rundizable-wp-features.php Passed 13 tests

The entry point to "Rundizable WP Features" version 0.2.5 is a PHP file that has certain tags in its header comment area
27 characters long description:
Disable WordPress features.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin13,066 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
CSS153,264647,361
SVG3004,269
PHP163124861,331
PO File1243475
JavaScript171530

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.66
Average class complexity34.90
▷ Minimum class complexity1.00
▷ Maximum class complexity220.00
Average method complexity7.05
▷ Minimum method complexity1.00
▷ Maximum method complexity39.00
Code structure
Namespaces5
Interfaces1
Traits1
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods58
▷ Static methods23.45%
▷ Public methods4679.31%
▷ Protected methods00.00%
▷ Private methods1220.69%
Functions2
▷ Named functions00.00%
▷ Anonymous functions2100.00%
Constants2
▷ Global constants2100.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
There were not PNG files found in your plugin