84% plaintracker

Code Review | PlainTracker - Simple Personal Project Tracker

WordPress plugin PlainTracker - Simple Personal Project Tracker scored 84% from 54 tests.

About plugin

  • Plugin page: plaintracker
  • Plugin version: 1.2.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.1-6.3
  • WordPress version: 6.3.1
  • First release: Mar 25, 2022
  • Latest release: Aug 10, 2023
  • Number of updates: 14
  • Update frequency: every 35.9 days
  • Top authors: plainware (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 366 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.30MB] [CPU: ▼0.64ms] Passed 4 tests

A check of server-side resources used by PlainTracker - Simple Personal Project Tracker
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2143.56 ▼2.11
Dashboard /wp-admin3.68 ▲0.3854.10 ▼2.07
Posts /wp-admin/edit.php3.73 ▲0.3852.74 ▲2.86
Add New Post /wp-admin/post-new.php6.20 ▲0.31104.58 ▲16.48
Media Library /wp-admin/upload.php3.54 ▲0.3140.26 ▼1.23

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for PlainTracker - Simple Personal Project Tracker
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,832 ▲713.36 ▼1.104.79 ▲2.5756.76 ▲11.90
Dashboard /wp-admin2,235 ▲265.94 ▲1.05102.91 ▼13.0839.29 ▼3.36
Posts /wp-admin/edit.php2,118 ▲292.01 ▼0.0336.10 ▲0.2834.30 ▼3.24
Add New Post /wp-admin/post-new.php1,559 ▲4523.35 ▼0.24589.06 ▼115.8967.74 ▲10.56
Media Library /wp-admin/upload.php1,420 ▲354.19 ▼0.01100.47 ▼16.8841.12 ▼6.90

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

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

SRP 50% from 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
The following issues need your attention
  • 9× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\App' not found in wp-content/plugins/plaintracker/_/WpApp.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\Model' not found in wp-content/plugins/plaintracker/_/ModelSqlTable.php:6
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\WpApp' not found in wp-content/plugins/plaintracker/app/App.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\Plaintracker\\ModelSqlTable' not found in wp-content/plugins/plaintracker/setting/ModelSetting.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\Plaintracker\\ModelSqlTable' not found in wp-content/plugins/plaintracker/activity/ModelActivity.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\Plaintracker\\ModelSqlTable' not found in wp-content/plugins/plaintracker/record/ModelRecord.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\ModelSqlTable' not found in wp-content/plugins/plaintracker/app/ModelSqlTable.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\WpDb' not found in wp-content/plugins/plaintracker/app/Db.php:4
    • > PHP Fatal error
      Uncaught Error: Class 'Plainware\\Plaintracker\\ModelSqlTable' not found in wp-content/plugins/plaintracker/install/ModelInstall.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

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
6 plugin tags: time budget, productivity tracker, individual productivity, personal goals, project tracker...

plaintracker/plaintracker.php 92% from 13 tests

The main PHP script in "PlainTracker - Simple Personal Project Tracker" version 1.2.5 is automatically included on every request by WordPress
The following require your attention:
  • Domain Path: The domain path points to an invalid folder, "/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected5,488 lines of code in 49 files:
LanguageFilesBlank linesComment linesLines of code
PHP471,3172975,265
CSS26147223

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity15.63
▷ Minimum class complexity1.00
▷ Maximum class complexity134.00
Average method complexity3.25
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes49
▷ Abstract classes714.29%
▷ Concrete classes4285.71%
▷ Final classes00.00%
Methods323
▷ Static methods15848.92%
▷ Public methods32199.38%
▷ Protected methods20.62%
▷ Private methods00.00%
Functions7
▷ Named functions571.43%
▷ Anonymous functions228.57%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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