84% wp-issue-logger

Code Review | WP Issue Logger

WordPress plugin WP Issue Logger scored84%from 54 tests.

About plugin

  • Plugin page: wp-issue-logger
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-4.8.4
  • WordPress version: 6.3.1
  • First release: Jan 12, 2018
  • Latest release: Jan 12, 2018
  • Number of updates: 3
  • Update frequency: every 9.7 days
  • Top authors: travislima (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /570 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.65MB] [CPU: ▼15.73ms] Passed 4 tests

Server-side resources used by WP Issue Logger
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0641.19 ▼2.21
Dashboard /wp-admin3.36 ▲0.0550.96 ▼5.69
Posts /wp-admin/edit.php3.42 ▲0.0552.66 ▲5.79
Add New Post /wp-admin/post-new.php3.15 ▼2.7438.69 ▼56.99
Media Library /wp-admin/upload.php3.28 ▲0.0537.61 ▲1.96
Add New /wp-admin/post-new.php?post_type=issue3.1436.18
All Issues /wp-admin/edit.php?post_type=issue3.3338.99
Categories /wp-admin/edit-tags.php?taxonomy=type&post_type=issue3.2834.79

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for WP Issue Logger
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,859 ▲11313.56 ▼0.812.23 ▲0.5046.78 ▲5.15
Dashboard /wp-admin2,237 ▲524.86 ▼0.99108.97 ▲0.2038.94 ▼0.36
Posts /wp-admin/edit.php2,120 ▲312.06 ▲0.0240.50 ▲0.7836.27 ▲2.62
Add New Post /wp-admin/post-new.php1,560 ▲2922.62 ▲4.37652.12 ▲12.9256.01 ▲2.49
Media Library /wp-admin/upload.php1,416 ▲284.18 ▲0.00101.02 ▼4.0045.07 ▼0.08
Add New /wp-admin/post-new.php?post_type=issue2,6517.86176.0368.89
All Issues /wp-admin/edit.php?post_type=issue1,1351.9831.4330.31
Categories /wp-admin/edit-tags.php?taxonomy=type&post_type=issue1,2902.1430.1929.46

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
    • > GET request to /wp-admin/post-new.php?post_type=issue
    • > Notice in wp-content/plugins/wp-issue-logger/wp-issue-logger.php+151
    Undefined index: wpil-issue-status

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: issue logger, project management, task, to do

wp-issue-logger/wp-issue-logger.php 92% from 13 tests

The primary PHP file in "WP Issue Logger" version 0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin130 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP11826113
Markdown114017

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
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

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin