93% bitbucket-issue-manager

Code Review | Bitbucket Issue Manager

WordPress plugin Bitbucket Issue Manager scored 93% from 54 tests.

About plugin

  • Plugin page: bitbucket-issue-m...
  • Plugin version: 0.8.5
  • PHP version: 7.4.16
  • WordPress version: 5.9.2
  • First release: Feb 16, 2014
  • Latest release: Feb 2, 2015
  • Number of updates: 23
  • Update frequency: every 15.3 days
  • Top authors: GabrielBS (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,131 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.03MB] [CPU: ▼303.07ms] Passed 4 tests

A check of server-side resources used by Bitbucket Issue Manager
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1153.64 ▼11.12
Dashboard /wp-admin3.48 ▲0.061,050.27 ▲1,005.36
Posts /wp-admin/edit.php3.69 ▲0.0437.93 ▼11.50
Add New Post /wp-admin/post-new.php6.93 ▼0.0596.82 ▼1,184.03
Media Library /wp-admin/upload.php3.34 ▲0.0425.09 ▼5.63

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Bitbucket Issue Manager
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,907 ▲15915.97 ▲0.206.93 ▲0.392.54 ▲0.58
Dashboard /wp-admin3,011 ▲1506.18 ▲0.00120.89 ▼21.15160.53 ▼6.00
Posts /wp-admin/edit.php2,698 ▲73.35 ▼0.0162.43 ▼2.17135.12 ▼12.32
Add New Post /wp-admin/post-new.php1,674 ▼7818.50 ▼2.39403.21 ▼84.95155.40 ▼16.59
Media Library /wp-admin/upload.php1,705 ▲45.48 ▼0.04138.99 ▼3.31191.73 ▲5.96

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bitbucket-issue-manager/bitbucket.php:81

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 86% 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
Attributes that require attention:
  • Requires at least: Invalid plugin version format
The official readme.txt is a good inspiration

bitbucket-issue-manager/bitbucket.php 77% from 13 tests

The main PHP script in "Bitbucket Issue Manager" version 0.8.5 is automatically included on every request by WordPress
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 243 characters long)
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("bitbucket-issue-manager.php" instead of "bitbucket.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected250 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP5141166193
PO File1183557

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods4
▷ Static methods4100.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions857.14%
▷ Anonymous functions642.86%
Constants2
▷ Global constants2100.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
PNG images were not found in this plugin