89% avalon23-extension-pack

Code Review | Extension pack for Avalon23

WordPress plugin Extension pack for Avalon23 scored89%from 54 tests.

About plugin

  • Plugin page: avalon23-extensio...
  • Plugin version: 1.0.1
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: WP 4.9-5.7
  • WordPress version: 6.3.1
  • First release: Mar 24, 2021
  • Latest release: Mar 25, 2021
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: paradigmatools (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /375 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Extension pack for Avalon23
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.59 ▲3.23
Dashboard /wp-admin3.33 ▼0.0143.73 ▼17.22
Posts /wp-admin/edit.php3.38 ▲0.0344.00 ▼1.85
Add New Post /wp-admin/post-new.php5.91 ▲0.0381.20 ▼10.61
Media Library /wp-admin/upload.php3.26 ▲0.0335.43 ▲1.94

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Extension pack for Avalon23: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.09 ▲0.831.72 ▼2.4739.98 ▼1.93
Dashboard /wp-admin2,198 ▲275.63 ▲0.0385.11 ▼2.1737.28 ▼4.34
Posts /wp-admin/edit.php2,100 ▼02.02 ▲0.0133.64 ▼5.6333.64 ▲1.68
Add New Post /wp-admin/post-new.php1,526 ▼223.34 ▲0.25662.68 ▼21.8353.09 ▼4.55
Media Library /wp-admin/upload.php1,400 ▼34.15 ▼0.0196.10 ▼1.9641.25 ▼2.94

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 86% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: extension, products filter, avalon23, products, extension pack...

avalon23-extension-pack/avalon23-extend-pack.php 69% from 13 tests

The entry point to "Extension pack for Avalon23" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "WP 4.9")
  • Domain Path: The domain path is invalid: folder "/languages" does not exist
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("avalon23-extension-pack.php" instead of "avalon23-extend-pack.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
Everything looks great! No dangerous files found in this plugin252 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP31415155
JavaScript2111475
CSS10022

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.75
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected