84% trusty-studio-suivi-de-projet

Code Review | Trusty Studio - Project Tracking

WordPress plugin Trusty Studio - Project Tracking scored84%from 54 tests.

About plugin

  • Plugin page: trusty-studio-sui...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.2
  • WordPress version: 6.3.1
  • First release: Apr 11, 2023
  • Latest release: Apr 11, 2023
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: enguerrantrusty (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /303 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▼0.13MB] [CPU: ▲137.64ms] Passed 4 tests

This is a short check of server-side resources used by Trusty Studio - Project Tracking
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0541.08 ▼1.98
Dashboard /wp-admin3.25 ▼0.10240.77 ▲175.05
Posts /wp-admin/edit.php3.31 ▼0.05245.49 ▲197.35
Add New Post /wp-admin/post-new.php5.49 ▼0.40277.22 ▲180.13
Media Library /wp-admin/upload.php3.25 ▲0.02250.90 ▲215.09

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Trusty Studio - Project Tracking
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7314.35 ▲0.001.89 ▼0.4841.83 ▼3.75
Dashboard /wp-admin2,228 ▲515.63 ▼0.0185.33 ▼10.6439.23 ▼3.99
Posts /wp-admin/edit.php2,131 ▲311.99 ▲0.0035.58 ▼7.6535.95 ▲2.84
Add New Post /wp-admin/post-new.php1,549 ▲2323.57 ▲0.93696.84 ▲77.2657.64 ▲9.33
Media Library /wp-admin/upload.php1,430 ▲274.26 ▲0.05101.14 ▲0.2942.94 ▼3.99

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

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
Even though no errors were found, this is by no means 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
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/trusty-studio-suivi-de-projet/index.php:28

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: clients, management, dashboard, project tracking, trustystudio

trusty-studio-suivi-de-projet/index.php 92% from 13 tests

"Trusty Studio - Project Tracking" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("trusty-studio-suivi-de-projet.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin213 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP13713161
CSS17140
JavaScript14012

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.07
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%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin