84% scifi-task-manager

Code Review | scifi Task Manager

WordPress plugin scifi Task Manager scored 84% from 54 tests.

About plugin

  • Plugin page: scifi-task-manager
  • Plugin version: 0.8.4
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.3
  • WordPress version: 6.3.1
  • First release: Sep 3, 2014
  • Latest release: Aug 20, 2015
  • Number of updates: 26
  • Update frequency: every 13.5 days
  • Top authors: dimitrov.adrian (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

20+ active / 2,711 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.29MB] [CPU: ▲2.68ms] Passed 4 tests

An overview of server-side resources used by scifi Task Manager
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.72 ▲0.2642.19 ▲2.37
Dashboard /wp-admin3.61 ▲0.3059.36 ▲12.59
Posts /wp-admin/edit.php3.71 ▲0.3648.45 ▼1.30
Add New Post /wp-admin/post-new.php6.19 ▲0.3091.21 ▲0.90
Media Library /wp-admin/upload.php3.52 ▲0.2938.76 ▲8.73
scifi Task Manager /wp-admin/options-general.php?page=scifi-task-manager3.4934.47

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 9 new options
New WordPress options
scifi-task-manager_menu
db_upgraded
widget_recent-posts
scifi-task-manager_tags
can_compress_scripts
scifi-task-manager_roles
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by scifi Task Manager
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,861 ▲10413.31 ▼1.311.76 ▼0.3132.35 ▼15.29
Dashboard /wp-admin2,270 ▲795.89 ▲0.00105.04 ▼1.0047.61 ▲5.18
Posts /wp-admin/edit.php2,108 ▲192.06 ▲0.0335.02 ▼2.0832.07 ▼1.91
Add New Post /wp-admin/post-new.php1,549 ▲3023.31 ▲0.05616.21 ▼42.4251.34 ▼5.30
Media Library /wp-admin/upload.php1,407 ▲224.22 ▲0.0893.69 ▼12.5537.62 ▼7.98
scifi Task Manager /wp-admin/options-general.php?page=scifi-task-manager2,2293.1790.2631.53

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 8 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • scifi-task-manager_menu
    • scifi-task-manager_tags
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

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
  • 7× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/scifi-task-manager/scifi-task-manager.php:18
    • > PHP Notice
      Undefined variable: action in wp-content/plugins/scifi-task-manager/template-post-publish.php on line 4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/scifi-task-manager/template-post-attachments.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_dropdown_pages() in wp-content/plugins/scifi-task-manager/template-post-list-filters.php:1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/scifi-task-manager/template-post-publish.php:11
    • > PHP Notice
      Undefined variable: posts in wp-content/plugins/scifi-task-manager/template-admin-widget.php on line 1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post_type_object() in wp-content/plugins/scifi-task-manager/template-admin-widget.php:91

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: issue tracking, project manager, tasks, issues, bug...

scifi-task-manager/scifi-task-manager.php Passed 13 tests

This is the main PHP file of "scifi Task Manager" version 0.8.4, 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:
Simple admin dashboard task manager.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,803 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP61582501,473
PO File1101112330

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.68
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%
Functions44
▷ Named functions1534.09%
▷ Anonymous functions2965.91%
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