78% voxedin

Code Review | VoxedIn

WordPress plugin VoxedIn scored78%from 54 tests.

About plugin

  • Plugin page: voxedin
  • Plugin version: 0.95
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5
  • WordPress version: 6.3.1
  • First release: Apr 17, 2013
  • Latest release: May 16, 2013
  • Number of updates: 8
  • Update frequency: every 3.8 days
  • Top authors: Nickwiseoutlook (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /903 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.10MB] [CPU: ▼3.59ms] Passed 4 tests

This is a short check of server-side resources used by VoxedIn
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0934.04 ▼8.87
Dashboard /wp-admin3.40 ▲0.1045.95 ▼3.52
Posts /wp-admin/edit.php3.51 ▲0.1647.98 ▲2.87
Add New Post /wp-admin/post-new.php5.98 ▲0.1081.73 ▼4.85
Media Library /wp-admin/upload.php3.32 ▲0.1036.16 ▲3.40
VoxedIn Settings /wp-admin/options-general.php?page=voxedin-wordpress3.2628.78

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for VoxedIn
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,864 ▲11813.82 ▼0.481.81 ▼0.3042.51 ▼0.52
Dashboard /wp-admin2,210 ▲284.84 ▼0.95105.27 ▼1.8739.98 ▼2.17
Posts /wp-admin/edit.php2,093 ▲72.05 ▲0.0741.34 ▲6.6535.84 ▲0.94
Add New Post /wp-admin/post-new.php1,414 ▼10017.86 ▲0.20612.83 ▼56.4645.93 ▼10.54
Media Library /wp-admin/upload.php1,386 ▼54.21 ▲0.00100.38 ▼0.4144.62 ▲1.05
VoxedIn Settings /wp-admin/options-general.php?page=voxedin-wordpress7952.0325.9323.73

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
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=voxedin-wordpress
    • > Notice in wp-content/plugins/voxedin/voxedin-wordpress.php+413
    Trying to access array offset on value of type bool

SRP 50% 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
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voxedin/voxedin-wordpress.php:55

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: multi-factor, biometric, login, authentication, iphone...

voxedin/voxedin-wordpress.php 77% from 13 tests

Analyzing the main PHP file in "VoxedIn" version 0.95
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("voxedin.php" instead of "voxedin-wordpress.php")
  • Domain Path: The domain path folder does not exist ("/lang")
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug

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
Good job! No executable or dangerous file extensions detected458 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP113285352
JavaScript115480
HTML24026

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity41.00
▷ Minimum class complexity41.00
▷ Maximum class complexity41.00
Average method complexity2.90
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods21
▷ Static methods00.00%
▷ Public methods21100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin