90% backlog-ticket-viewer

Code Review | Backlog Ticket Viewer

WordPress plugin Backlog Ticket Viewer scored90%from 54 tests.

About plugin

  • Plugin page: backlog-ticket-vi...
  • Plugin version: 1.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.0
  • WordPress version: 6.3.1
  • First release: Jan 21, 2019
  • Latest release: Jan 21, 2019
  • Number of updates: 2
  • Update frequency: every 2.0 days
  • Top authors: pressmaninc (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /528 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.05MB] [CPU: ▼4.62ms] Passed 4 tests

This is a short check of server-side resources used by Backlog Ticket Viewer
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0643.11 ▼3.58
Dashboard /wp-admin3.37 ▲0.0256.62 ▼13.86
Posts /wp-admin/edit.php3.41 ▲0.0651.89 ▲3.76
Add New Post /wp-admin/post-new.php5.94 ▲0.0699.16 ▼4.56
Media Library /wp-admin/upload.php3.29 ▲0.0637.80 ▲3.53

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Backlog Ticket Viewer
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,855 ▲9414.34 ▼0.011.89 ▲0.1147.77 ▲4.47
Dashboard /wp-admin2,239 ▲595.64 ▼0.0493.15 ▲2.0547.01 ▲10.40
Posts /wp-admin/edit.php2,103 ▲31.95 ▼0.0044.72 ▲4.4434.74 ▼2.72
Add New Post /wp-admin/post-new.php1,526 ▼1123.69 ▲5.51686.43 ▲43.3357.31 ▼21.76
Media Library /wp-admin/upload.php1,400 ▼34.22 ▲0.01110.06 ▲4.6347.30 ▲2.96

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
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: backlog, dashboard, wordpress dashboard

backlog-ticket-viewer/backlog-ticket-viewer.php Passed 13 tests

This is the main PHP file of "Backlog Ticket Viewer" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
36 characters long description:
Display backlog ticket on dashboard.

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
There were no executable files found in this plugin534 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP16032351
CSS1202114
PO File1385269

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity55.00
▷ Minimum class complexity55.00
▷ Maximum class complexity55.00
Average method complexity10.00
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.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