WordPress plugin GITST CUSTOM AVATAR scored79%from 54 tests.

About plugin

  • Plugin page: gitst-custom-avat...
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-4.7
  • WordPress version: 6.3.1
  • First release: Dec 28, 2016
  • Latest release: Dec 29, 2016
  • Number of updates: 4
  • Update frequency: every 0.8 days
  • Top authors: hkotanjyan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /727 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼6.74ms] Passed 4 tests

Server-side resources used by GITST CUSTOM AVATAR
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0637.11 ▼1.81
Dashboard /wp-admin3.29 ▼0.0640.13 ▼20.90
Posts /wp-admin/edit.php3.41 ▲0.0545.55 ▼3.98
Add New Post /wp-admin/post-new.php5.94 ▲0.0595.96 ▲1.53
Media Library /wp-admin/upload.php3.28 ▲0.0535.05 ▼0.28

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables
wp_gitst_avatar
New WordPress options
widget_theysaidso_widget
recovery_mode_email_last_sent
db_upgraded
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

GITST CUSTOM AVATAR: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /1,850 ▼89612.29 ▼2.021.75 ▲0.0137.79 ▼6.10
Dashboard /wp-admin1,264 ▼9241.38 ▼3.5314.97 ▼90.6134.33 ▼7.44
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0538.84 ▼2.5143.49 ▲8.87
Add New Post /wp-admin/post-new.php1,522 ▲823.20 ▲5.76640.48 ▼41.2035.96 ▼24.55
Media Library /wp-admin/upload.php1,391 ▲94.18 ▲0.01103.39 ▲2.9045.80 ▲3.41

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
  • The plugin did not uninstall successfully, leaving 1 table in the database
    • wp_gitst_avatar
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • recovery_mode_email_last_sent

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
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

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

readme.txt 88% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === gitst-custom-avatar-user-profile-pictures-manager === )
  • Screenshots: Please add descriptions for these screenshots #1, #1, #2, #2, #3, #3 in gitst-custom-avatar-user-profile-pictures-manager/assets to your readme.txt
Please take inspiration from this readme.txt

gitst-custom-avatar-user-profile-pictures-manager/get_avatar.php 85% from 13 tests

The primary PHP file in "GITST CUSTOM AVATAR" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gitst-custom-avatar-user-profile-pictures-manager.php" instead of "get_avatar.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 636 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected224 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17534224

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity27.00
▷ Minimum class complexity27.00
▷ Maximum class complexity27.00
Average method complexity3.89
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods00.00%
▷ Public methods9100.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

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected