99% echo1-consulting-inital-js-avatar

Code Review | Echo1 Consulting - Inital JS Avatar

WordPress plugin Echo1 Consulting - Inital JS Avatar scored 99% from 54 tests.

About plugin

  • Plugin page: echo1-consulting-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.2.2
  • WordPress version: 5.8.1
  • First release: Jun 3, 2015
  • Latest release: Jun 3, 2015
  • Number of updates: 16
  • Update frequency: every 0.1 days
  • Top authors: echo1consulting (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 793 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

An overview of server-side resources used by Echo1 Consulting - Inital JS Avatar
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1333.86 ▲14.01
Dashboard /wp-admin3.07 ▲0.0242.07 ▼4.79
Posts /wp-admin/edit.php3.16 ▲0.0543.03 ▲3.17
Add New Post /wp-admin/post-new.php5.43 ▼0.0080.29 ▼582.90
Media Library /wp-admin/upload.php3.02 ▲0.0134.20 ▲8.36

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Echo1 Consulting - Inital JS Avatar: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,998 ▲40216.37 ▲0.4916.80 ▲8.9848.92 ▼2.81
Dashboard /wp-admin3,059 ▲1285.97 ▲0.03136.26 ▼1.81106.28 ▼14.14
Posts /wp-admin/edit.php2,828 ▲893.05 ▲0.3566.01 ▼5.8690.67 ▲4.88
Add New Post /wp-admin/post-new.php1,787 ▲11124.14 ▲5.29357.13 ▲2.0098.97 ▼12.60
Media Library /wp-admin/upload.php1,893 ▲865.10 ▲0.10138.63 ▼5.09114.17 ▲5.00

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Tags: There are too many tags (12 tag instead of maximum 10)
You can take inspiration from this readme.txt

echo1-consulting-inital-js-avatar/functions.php 92% from 13 tests

The main PHP file in "Echo1 Consulting - Inital JS Avatar" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("echo1-consulting-inital-js-avatar.php" instead of "functions.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin147 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2819397
JavaScript1181450

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity9.00
▷ Minimum class complexity9.00
▷ Maximum class complexity9.00
Average method complexity1.89
▷ Minimum method complexity1.00
▷ Maximum method complexity9.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%
Constants4
▷ Global constants4100.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
PNG images were not found in this plugin