68% software-issue-manager

Code Review | Project Management, Bug and Issue Tracking Plugin - Software Issue Manager

WordPress plugin Project Management, Bug and Issue Tracking Plugin - Software Issue Manager scored68%from 54 tests.

About plugin

  • Plugin page: software-issue-ma...
  • Plugin version: 4.9
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.2
  • WordPress version: 6.3.1
  • First release: Oct 3, 2014
  • Latest release: May 29, 2023
  • Number of updates: 91
  • Update frequency: every 34.7 days
  • Top authors: emarket-design (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

50+ active /13,045 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲5.05MB] [CPU: ▲38.79ms] 75% from 4 tests

This is a short check of server-side resources used by Project Management, Bug and Issue Tracking Plugin - Software Issue Manager
It is recommended to improve the following
  • Extra RAM: The extra memory usage should kept under 5MB (currently 5.05MB on /wp-admin/edit-tags.php?taxonomy=browser&post_type=emd_issue)
PageMemory (MB)CPU Time (ms)
Home /8.00 ▲4.5488.72 ▲52.73
Dashboard /wp-admin8.54 ▲5.23159.43 ▲112.39
Posts /wp-admin/edit.php8.60 ▲5.2482.76 ▲34.56
Add New Post /wp-admin/post-new.php11.13 ▲5.24138.05 ▲41.14
Media Library /wp-admin/upload.php8.44 ▲5.2179.97 ▲26.74
Support /wp-admin/admin.php?page=software_issue_manager_support8.3870.37
Getting Started /wp-admin/admin.php?page=software_issue_manager8.3973.72
Statuses /wp-admin/edit-tags.php?taxonomy=project_status&post_type=emd_project8.4775.69
Plugins /wp-admin/admin.php?page=software_issue_manager_store8.3871.14
Tags /wp-admin/edit-tags.php?taxonomy=issue_tag&post_type=emd_issue8.4371.07
Glossary /wp-admin/admin.php?page=software_issue_manager_glossary8.4167.67
CSV Import/Export /wp-admin/admin.php?page=operations_emd_issue8.4171.07
Operating Systems /wp-admin/edit-tags.php?taxonomy=operating_system&post_type=emd_issue8.4874.36
Custom Fields /wp-admin/admin.php?page=software_issue_manager_cust_fields8.4177.07
Browsers /wp-admin/edit-tags.php?taxonomy=browser&post_type=emd_issue8.4768.80

Server storage [IO: ▲3.53MB] [DB: ▲0.06MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 346 new files
Database: 3 new tables, 32 new options
New tables
wp_p2p
wp_p2pmeta
wp_emd_sessions
New WordPress options
software_issue_manager_has_edd
widget_theysaidso_widget
software_issue_manager_access_views
software_issue_manager_init_tax
can_compress_scripts
software_issue_manager_glob_forms_init_list
emd_activated_plugins
software_issue_manager_shc_list
emd_form_id_issue_search
software_issue_manager_has_edd_forms_list
...

Browser metrics Passed 4 tests

Checking browser requirements for Project Management, Bug and Issue Tracking Plugin - Software Issue Manager
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,043 ▲29713.28 ▼1.104.86 ▲3.2543.43 ▲3.57
Dashboard /wp-admin2,444 ▲2565.88 ▲0.9995.79 ▼2.6549.06 ▲6.08
Posts /wp-admin/edit.php2,326 ▲2402.17 ▲0.1539.70 ▼0.2742.11 ▲5.00
Add New Post /wp-admin/post-new.php1,766 ▲35122.31 ▲4.52686.63 ▼226.3873.35 ▼0.61
Media Library /wp-admin/upload.php1,626 ▲2414.23 ▲0.0496.16 ▼42.3847.61 ▼3.38
Support /wp-admin/admin.php?page=software_issue_manager_support1,3261.8325.8850.29
Getting Started /wp-admin/admin.php?page=software_issue_manager2,8652.4237.20103.15
Statuses /wp-admin/edit-tags.php?taxonomy=project_status&post_type=emd_project1,7202.3429.5139.07
Plugins /wp-admin/admin.php?page=software_issue_manager_store1,3511.9129.2134.15
Tags /wp-admin/edit-tags.php?taxonomy=issue_tag&post_type=emd_issue1,4722.3329.5936.47
Glossary /wp-admin/admin.php?page=software_issue_manager_glossary1,5331.8624.9432.03
CSV Import/Export /wp-admin/admin.php?page=operations_emd_issue1,0851.7223.8438.31
Operating Systems /wp-admin/edit-tags.php?taxonomy=operating_system&post_type=emd_issue2,1902.3330.0944.57
Custom Fields /wp-admin/admin.php?page=software_issue_manager_cust_fields1,1081.7222.5437.41
Browsers /wp-admin/edit-tags.php?taxonomy=browser&post_type=emd_issue1,7672.3331.1341.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • The plugin did not uninstall successfully, leaving 3 tables in the database
    • wp_p2p
    • wp_p2pmeta
    • wp_emd_sessions
  • Zombie WordPress options were found after uninstall: 29 options
    • software_issue_manager_glob_init_list
    • theysaidso_admin_options
    • widget_recent-posts
    • software_issue_manager_tax_list
    • db_upgraded
    • software_issue_manager_access_views
    • widget_theysaidso_widget
    • software_issue_manager_add_caps
    • software_issue_manager_setup_pages
    • software_issue_manager_version
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/software-issue-manager/layouts/shc-sc-issues-footer.php
  • 35× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: post in wp-content/plugins/software-issue-manager/layouts/single-emd-issue.php on line 1
    • > PHP Fatal error
      Uncaught Error: Class 'scbWidget' not found in wp-content/plugins/software-issue-manager/assets/ext/posts-to-posts/core/extra.php:3
    • > PHP Warning
      Use of undefined constant SOFTWARE_ISSUE_MANAGER_PLUGIN_URL - assumed 'SOFTWARE_ISSUE_MANAGER_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/software-issue-manager/includes/admin/tabs.php on line 47
    • > PHP Fatal error
      Uncaught Error: Class 'P2P_Factory' not found in wp-content/plugins/software-issue-manager/assets/ext/posts-to-posts/admin/box-factory.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function scb_register_table() in wp-content/plugins/software-issue-manager/assets/ext/posts-to-posts/core/storage.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/software-issue-manager/includes/admin/tabs.php:54
    • > PHP Notice
      Undefined variable: post in wp-content/plugins/software-issue-manager/layouts/single-emd-project.php on line 1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/software-issue-manager/layouts/shc-sc-issues-content.php:2
    • > PHP Fatal error
      Uncaught Error: Class 'scbAdminPage' not found in wp-content/plugins/software-issue-manager/assets/ext/posts-to-posts/scb/BoxesPage.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/software-issue-manager/assets/ext/posts-to-posts/scb/Widget.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: issue management, defect, project management, bug tracking, issue tracking

software-issue-manager/software-issue-manager.php Passed 13 tests

The principal PHP file in "Project Management, Bug and Issue Tracking Plugin - Software Issue Manager" v. 4.9 is loaded by WordPress automatically on each request
111 characters long description:
Software Issue Manager allows to track the resolution of every project issue in a productive and efficient way.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin35,117 lines of code in 248 files:
LanguageFilesBlank linesComment linesLines of code
PHP1442,3975,00726,490
JavaScript525357315,923
CSS421581262,628
HTML96074
SVG1002

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity16.38
▷ Minimum class complexity1.00
▷ Maximum class complexity169.00
Average method complexity3.52
▷ Minimum method complexity1.00
▷ Maximum method complexity73.00
Code structure
Namespaces0
Interfaces2
Traits0
Classes123
▷ Abstract classes118.94%
▷ Concrete classes11291.06%
▷ Final classes21.79%
Methods784
▷ Static methods30038.27%
▷ Public methods65883.93%
▷ Protected methods9011.48%
▷ Private methods364.59%
Functions256
▷ Named functions25599.61%
▷ Anonymous functions10.39%
Constants31
▷ Global constants2064.52%
▷ Class constants1135.48%
▷ Public constants11100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
82 compressed PNG files occupy 0.95MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/ext/emd-meta-box/img/jqueryui/ui-icons_888888_256x240.png4.27KB4.11KB▼ 3.78%
assets/img/jui-img/ui-icons_2e83ff_256x240.png3.60KB4.11KB0.00%
assets/img/search-tickets.png3.75KB3.82KB0.00%
assets/img/responsive.png3.45KB3.51KB0.00%
assets/ext/emd-meta-box/img/jqueryui/ui-icons_222222_256x240.png4.27KB4.11KB▼ 3.78%