10% audiotyped-ux

Code Review | AudioTyped UX

WordPress plugin AudioTyped UX scored10%from 54 tests.

About plugin

  • Plugin page: audiotyped-ux
  • Plugin version: 1.0.21
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.4.2-5.4.1
  • WordPress version: 6.3.1
  • First release: Feb 15, 2019
  • Latest release: Aug 4, 2020
  • Number of updates: 48
  • Update frequency: every 11.2 days
  • Top authors: audiotyped (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,257 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+74
    Undefined variable: default_audiotyped_mbpv_size

Server metrics [RAM: ▼1.95MB] [CPU: ▼52.66ms] Passed 4 tests

Analyzing server-side resources used by AudioTyped UX
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.04 ▼1.424.45 ▼35.21
Dashboard /wp-admin2.06 ▼1.246.15 ▼45.66
Posts /wp-admin/edit.php2.06 ▼1.295.12 ▼44.79
Add New Post /wp-admin/post-new.php2.06 ▼3.825.96 ▼84.96
Media Library /wp-admin/upload.php2.06 ▼1.175.02 ▼27.15
AudioTyped UX /wp-admin/options-general.php?page=audiotyped-settings2.065.31

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 13 new options
New WordPress options
widget_recent-posts
audiotyped_ma_size
widget_theysaidso_widget
audiotyped_md_size
audiotyped_mbph_size
widget_recent-comments
audiotyped_dbph_size
audiotyped_dc_size
audiotyped_mbpv_size
theysaidso_admin_options
...

Browser metrics Passed 4 tests

A check of browser resources used by AudioTyped UX
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,846 ▲8514.74 ▲0.212.30 ▲0.4642.67 ▲2.76
Dashboard /wp-admin2,221 ▲415.88 ▲0.2891.59 ▲5.0440.45 ▼0.27
Posts /wp-admin/edit.php2,128 ▲312.26 ▲0.2434.10 ▼2.8232.61 ▼0.68
Add New Post /wp-admin/post-new.php1,545 ▲1923.12 ▼0.02657.41 ▼20.0135.33 ▼28.05
Media Library /wp-admin/upload.php1,420 ▲204.44 ▲0.25103.59 ▲3.0743.93 ▼0.19
AudioTyped UX /wp-admin/options-general.php?page=audiotyped-settings1,6032.7760.4128.74

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+74
    Undefined variable: default_audiotyped_mbpv_size
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=audiotyped-settings
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+74
    Undefined variable: default_audiotyped_mbpv_size
    • > GET request to /wp-admin/options-general.php?page=audiotyped-settings
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+78
    Undefined variable: default_audiotyped_mbph_size
    • > GET request to /wp-admin/options-general.php?page=audiotyped-settings
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+82
    Undefined variable: default_audiotyped_dbpv_size
    • > GET request to /wp-admin/options-general.php?page=audiotyped-settings
    • > Notice in wp-content/plugins/audiotyped-ux/audiotyped-ux.php+86
    Undefined variable: default_audiotyped_dbph_size

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
Please fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/audiotyped-ux/audiotyped-ux.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

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
6 plugin tags: interview, transcription, deaf, ux, layout...

audiotyped-ux/audiotyped-ux.php Passed 13 tests

Analyzing the main PHP file in "AudioTyped UX" version 1.0.21
68 characters long description:
Makes the Settings for the UX Interview Layouts of your Transcripts.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected557 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS1510299
PHP21628231
JavaScript20027

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.13
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%
Functions6
▷ Named functions6100.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
No PNG images were found in this plugin