89% extension-for-wp-job-manager-support-in-elementor-pro

Code Review | Extension for WP Job Manager support in Elementor Pro

WordPress plugin Extension for WP Job Manager support in Elementor Pro scored89%from 54 tests.

About plugin

  • Plugin page: extension-for-wp-...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.0.3
  • WordPress version: 6.3.1
  • First release: Nov 21, 2022
  • Latest release: Nov 21, 2022
  • Number of updates: 2
  • Update frequency: every 10.0 days
  • Top authors: Shehroz_21 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /512 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
Installer ran successfully

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

This is a short check of server-side resources used by Extension for WP Job Manager support in Elementor Pro
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0145.33 ▼1.21
Dashboard /wp-admin3.31 ▼0.0350.10 ▼13.63
Posts /wp-admin/edit.php3.36 ▲0.0053.34 ▲2.46
Add New Post /wp-admin/post-new.php5.89 ▲0.0096.50 ▼2.93
Media Library /wp-admin/upload.php3.23 ▲0.0041.35 ▲1.96

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Extension for WP Job Manager support in Elementor Pro
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1714.36 ▲0.001.70 ▼0.3643.01 ▼2.63
Dashboard /wp-admin2,192 ▲155.54 ▼0.1183.70 ▼9.6240.18 ▲0.61
Posts /wp-admin/edit.php2,097 ▼31.94 ▼0.0239.22 ▲3.0733.91 ▲0.89
Add New Post /wp-admin/post-new.php1,534 ▲818.32 ▼4.95635.13 ▼65.7678.02 ▲10.42
Media Library /wp-admin/upload.php1,397 ▼34.22 ▲0.0399.90 ▼8.0844.01 ▼5.34

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Contributors: Plugin contributors field is missing
You can look at the official readme.txt

extension-for-wp-job-manager-support-in-elementor-pro/elementor-support-for-wp-job-manager.php 92% from 13 tests

This is the main PHP file of "Extension for WP Job Manager support in Elementor Pro" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("extension-for-wp-job-manager-support-in-elementor-pro.php" instead of "elementor-support-for-wp-job-manager.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin8 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13178

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.93MB with 0.70MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot-1.png307.46KB50.35KB▼ 83.62%
assets/screenshot-2.png643.36KB208.54KB▼ 67.59%