89% calipio-screen-recorder

Code Review | Calipio Screen Recorder

WordPress plugin Calipio Screen Recorder scored89%from 54 tests.

About plugin

  • Plugin page: calipio-screen-re...
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9.2
  • WordPress version: 6.3.1
  • First release: Mar 16, 2022
  • Latest release: Mar 28, 2022
  • Number of updates: 13
  • Update frequency: every 0.9 days
  • Top authors: calipioscreenrecorder (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,794 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.11MB] [CPU: ▼2.95ms] Passed 4 tests

A check of server-side resources used by Calipio Screen Recorder
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1343.96 ▲6.64
Dashboard /wp-admin3.42 ▲0.0857.85 ▼3.25
Posts /wp-admin/edit.php3.54 ▲0.1851.55 ▼7.22
Add New Post /wp-admin/post-new.php6.01 ▲0.1288.95 ▼5.88
Media Library /wp-admin/upload.php3.35 ▲0.1241.09 ▲4.56

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Calipio Screen Recorder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲8213.66 ▼0.561.84 ▼0.2945.10 ▲3.00
Dashboard /wp-admin2,205 ▲205.82 ▲0.92102.40 ▼11.0984.94 ▲44.74
Posts /wp-admin/edit.php2,103 ▲112.02 ▲0.0235.88 ▼7.3633.91 ▼1.58
Add New Post /wp-admin/post-new.php1,527 ▲1317.55 ▲0.13756.75 ▲55.4954.77 ▼2.63
Media Library /wp-admin/upload.php1,396 ▲84.12 ▼0.07114.18 ▲6.7681.77 ▲33.94

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 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
Congratulations! This plugin passed the SRP test

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

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
  • Tags: Please delete some tags, you are using 12 tag instead of maximum 10
The official readme.txt is a good inspiration

calipio-screen-recorder/calipio-screen-recorder.php 77% from 13 tests

Analyzing the main PHP file in "Calipio Screen Recorder" version 1.0.0
You should first fix the following items:
  • Domain Path: Prefix the domain path with a forward slash character ("/languages")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin527 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP686122414
CSS10080
JavaScript12033

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity22.00
▷ Minimum class complexity3.00
▷ Maximum class complexity50.00
Average method complexity5.20
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods15
▷ Static methods00.00%
▷ Public methods15100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants10
▷ Global constants10100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
includes/images/Calipio.png0.66KB0.92KB0.00%