83% eazy-project-management

Code Review | Eazy Project Management

WordPress plugin Eazy Project Management scored 83% from 54 tests.

About plugin

  • Plugin page: eazy-project-mana...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.1-4.9.1
  • WordPress version: 6.3.1
  • First release: Oct 14, 2015
  • Latest release: Jan 2, 2018
  • Number of updates: 11
  • Update frequency: every 73.7 days
  • Top authors: r0bsc0tt (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,566 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
Install script ran successfully

Server metrics [RAM: ▲0.09MB] [CPU: ▲1.38ms] Passed 4 tests

A check of server-side resources used by Eazy Project Management
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0944.63 ▼9.02
Dashboard /wp-admin3.39 ▲0.0957.04 ▲8.75
Posts /wp-admin/edit.php3.48 ▲0.1359.21 ▲7.46
Add New Post /wp-admin/post-new.php5.97 ▲0.0893.79 ▼0.77
Media Library /wp-admin/upload.php3.31 ▲0.0943.18 ▲7.86
Add Project /wp-admin/post-new.php?post_type=ezproject3.4359.06
Clients /wp-admin/edit-tags.php?taxonomy=ezproject_clients&post_type=ezproject3.3141.07
Projects /wp-admin/edit.php?post_type=ezproject3.3442.71

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Eazy Project Management
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲8813.22 ▼1.151.73 ▼0.4643.87 ▲0.98
Dashboard /wp-admin2,234 ▲525.78 ▼0.12101.71 ▲2.3337.13 ▼3.12
Posts /wp-admin/edit.php2,117 ▲281.99 ▼0.0539.72 ▼1.4434.67 ▼2.27
Add New Post /wp-admin/post-new.php1,560 ▲3223.28 ▲4.77654.58 ▲37.1662.80 ▲1.75
Media Library /wp-admin/upload.php1,422 ▲314.31 ▲0.0996.99 ▼16.0243.62 ▲2.66
Add Project /wp-admin/post-new.php?post_type=ezproject2,4307.66192.8972.00
Clients /wp-admin/edit-tags.php?taxonomy=ezproject_clients&post_type=ezproject1,2902.1427.6928.04
Projects /wp-admin/edit.php?post_type=ezproject1,0891.9530.7031.98

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% 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
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/eazy-project-management/includes/eazy-project-management-display.php:33
    • > PHP Fatal error
      Uncaught Error: Call to undefined function post_type_exists() in wp-content/plugins/eazy-project-management/includes/eazy-project-management-types.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_role() in wp-content/plugins/eazy-project-management/includes/eazy-project-management-roles.php:4

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 15 tag instead of maximum 10
Please take inspiration from this readme.txt

eazy-project-management/eazy-project-management.php 85% from 13 tests

The main PHP script in "Eazy Project Management" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 170 characters long)
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected129 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP42324129

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.26
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin