84% recooty

Code Review | Recooty - Modern Applicant Tracking System for Growing Companies

WordPress plugin Recooty - Modern Applicant Tracking System for Growing Companies scored84%from 54 tests.

About plugin

  • Plugin page: recooty
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.3.2
  • WordPress version: 6.3.1
  • First release: Jun 14, 2018
  • Latest release: Oct 21, 2023
  • Number of updates: 32
  • Update frequency: every 61.4 days
  • Top authors: recooty (100%)

Code review

54 tests

User reviews

1 review

Install metrics

70+ active /1,527 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.42ms] Passed 4 tests

This is a short check of server-side resources used by Recooty - Modern Applicant Tracking System for Growing Companies
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0237.90 ▲1.23
Dashboard /wp-admin3.31 ▲0.0148.06 ▲1.94
Posts /wp-admin/edit.php3.36 ▲0.0141.70 ▼4.98
Add New Post /wp-admin/post-new.php5.89 ▲0.0181.49 ▼11.85
Media Library /wp-admin/upload.php3.24 ▲0.0136.27 ▲4.08

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Recooty - Modern Applicant Tracking System for Growing Companies
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲6614.57 ▲0.021.76 ▲0.1043.18 ▲3.74
Dashboard /wp-admin2,214 ▲505.57 ▲0.0398.15 ▲3.7285.79 ▲41.74
Posts /wp-admin/edit.php2,138 ▲382.01 ▼0.0334.83 ▼0.9234.63 ▼5.79
Add New Post /wp-admin/post-new.php1,554 ▲2523.04 ▼0.13721.99 ▲65.3464.43 ▲4.64
Media Library /wp-admin/upload.php1,437 ▲404.21 ▲0.0292.42 ▼4.1572.47 ▲26.73

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recooty/admin/init.php:14
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recooty/admin/init.php:14

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: recruiting software, job listing, job lists, job manager, job widget...

recooty/init.php 92% from 13 tests

The main file in "Recooty - Modern Applicant Tracking System for Growing Companies" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("recooty.php" instead of "init.php")

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
There were no executable files found in this plugin140 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP23613123
CSS21017

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.18
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
img/logo-3.png2.49KB1.62KB▼ 34.86%
img/icon.png7.47KB3.58KB▼ 52.06%