72% hiremejs

Code Review | HireMeJs

WordPress plugin HireMeJs scored 72% from 54 tests.

About plugin

  • Plugin page: hiremejs
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.1
  • WordPress version: 6.3.1
  • First release: Dec 26, 2014
  • Latest release: Dec 26, 2014
  • Number of updates: 4
  • Update frequency: every 0.3 days
  • Top authors: Hackbard23 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 635 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.02MB] [CPU: ▼7.90ms] Passed 4 tests

An overview of server-side resources used by HireMeJs
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.39 ▼0.0723.46 ▼17.32
Dashboard /wp-admin3.31 ▲0.0044.75 ▼7.10
Posts /wp-admin/edit.php3.36 ▲0.0045.16 ▼4.44
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.95 ▼0.41
Media Library /wp-admin/upload.php3.23 ▲0.0032.11 ▼2.75
HireMeJs /wp-admin/options-general.php?page=my-unique-identifier3.1735.67

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

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

Browser metrics Passed 4 tests

HireMeJs: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,469 ▼32013.53 ▲0.230.54 ▼4.1319.00 ▼27.71
Dashboard /wp-admin2,213 ▲74.90 ▲0.08103.50 ▼9.4641.48 ▼3.35
Posts /wp-admin/edit.php2,093 ▲41.99 ▲0.0135.02 ▼0.5230.68 ▼3.17
Add New Post /wp-admin/post-new.php1,537 ▲423.25 ▲0.07669.75 ▲5.4968.84 ▲2.75
Media Library /wp-admin/upload.php1,392 ▲44.25 ▲0.0695.00 ▼7.9245.31 ▼0.79
HireMeJs /wp-admin/options-general.php?page=my-unique-identifier1,5951.7727.6926.42

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=my-unique-identifier
    • > User notice in wp-includes/functions.php+5905
    Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)

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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hiremejs/HireMeJs.php:47

User-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
    • > GET request to /wp-admin/options-general.php?page=my-unique-identifier
    • > Javascript (severe) in unknown
    /wp-content/plugins/hiremejs/js/figlet.js?ver=6.3.1 67:33 Uncaught TypeError: Cannot read properties of undefined (reading 'length')

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === hiremejs === )
The official readme.txt might help

hiremejs/HireMeJs.php 92% from 13 tests

"HireMeJs" version 1.0'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: Please rename the main PHP file in this plugin to the plugin slug ("hiremejs.php" instead of "HireMeJs.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected402 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP22817275
JavaScript41827127

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.04
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

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin