84% radio-unlock-code-calculator-for-m-v-serials

Code Review | Radio Unlock Code Calculator For M & V Serials

WordPress plugin Radio Unlock Code Calculator For M & V Serials scored84%from 54 tests.

About plugin

  • Plugin page: radio-unlock-code...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8
  • WordPress version: 6.3.1
  • First release: Nov 16, 2021
  • Latest release: Nov 16, 2021
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: plasmatizemedia (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /320 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼1.64ms] Passed 4 tests

Server-side resources used by Radio Unlock Code Calculator For M & V Serials
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0540.12 ▼2.76
Dashboard /wp-admin3.36 ▲0.0548.62 ▼4.16
Posts /wp-admin/edit.php3.41 ▲0.0552.42 ▼2.18
Add New Post /wp-admin/post-new.php5.94 ▲0.0598.95 ▲5.07
Media Library /wp-admin/upload.php3.28 ▲0.0538.71 ▲2.53

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 9 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
db_upgraded
RCKDisableEndpoint
RCKAccLevel
RCKCreditLink

Browser metrics Passed 4 tests

An overview of browser requirements for Radio Unlock Code Calculator For M & V Serials
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲4814.29 ▲0.311.95 ▲0.0641.90 ▲0.19
Dashboard /wp-admin2,213 ▲365.62 ▲0.0282.85 ▼9.8442.62 ▼4.29
Posts /wp-admin/edit.php2,115 ▲152.01 ▼0.0340.75 ▲4.2939.50 ▲4.79
Add New Post /wp-admin/post-new.php1,555 ▲2923.31 ▲0.12647.65 ▼58.9253.01 ▲0.43
Media Library /wp-admin/upload.php1,418 ▲184.19 ▲0.0396.27 ▼18.9444.21 ▼1.92

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 9 options
    • can_compress_scripts
    • RCKDisableEndpoint
    • widget_recent-comments
    • widget_theysaidso_widget
    • RCKCreditLink
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • RCKAccLevel

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/radio-unlock-code-calculator-for-m-v-serials/admin_area.php:3

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 93% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes: You can look at the official readme.txt

radio-unlock-code-calculator-for-m-v-serials/radio_code_calc_mv.php 92% from 13 tests

Analyzing the main PHP file in "Radio Unlock Code Calculator For M & V Serials" version 1.0.0
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("radio-unlock-code-calculator-for-m-v-serials.php" instead of "radio_code_calc_mv.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin440 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP38837206
CSS238202
JavaScript19232

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/bronze-star.png1.49KB1.15KB▼ 22.39%
assets/images/crown.png1.43KB1.29KB▼ 10.16%
assets/images/gold-star.png1.57KB1.31KB▼ 16.41%
assets/images/alert.png1.14KB0.72KB▼ 37.35%
assets/images/question.png1.27KB0.90KB▼ 29.32%