84% job-manager-feed-scroller

Code Review | Job manager feed scroller

WordPress plugin Job manager feed scroller scored 84% from 54 tests.

About plugin

  • Plugin page: job-manager-feed-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.9
  • WordPress version: 6.3.1
  • First release: Mar 22, 2014
  • Latest release: Apr 21, 2014
  • Number of updates: 7
  • Update frequency: every 4.6 days
  • Top authors: enishant (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,829 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: ▲1.14ms] Passed 4 tests

Server-side resources used by Job manager feed scroller
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.65 ▼5.48
Dashboard /wp-admin3.32 ▲0.0152.64 ▼2.19
Posts /wp-admin/edit.php3.37 ▲0.0155.14 ▲1.39
Add New Post /wp-admin/post-new.php5.90 ▲0.0199.66 ▲10.82
Media Library /wp-admin/upload.php3.25 ▲0.0145.90 ▲13.82

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

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

Browser metrics Passed 4 tests

Job manager feed scroller: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲3813.67 ▲0.322.51 ▲0.8039.95 ▼19.89
Dashboard /wp-admin2,206 ▼34.85 ▼0.03110.68 ▼1.8043.44 ▼1.13
Posts /wp-admin/edit.php2,089 ▲32.01 ▼0.0439.17 ▼10.0136.38 ▼1.98
Add New Post /wp-admin/post-new.php1,537 ▼823.14 ▲4.77695.01 ▲91.9057.53 ▲2.87
Media Library /wp-admin/upload.php1,391 ▲34.18 ▼0.0197.40 ▲1.8043.06 ▼0.98

Uninstaller [IO: ✅] [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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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
Almost there! Just fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/job-manager-feed-scroller/index.php:83

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

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: text scroll, job manager feed scroller, sidebar scrolling, content scrolling, job manager

job-manager-feed-scroller/index.php 92% from 13 tests

The primary PHP file in "Job manager feed scroller" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("job-manager-feed-scroller.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected246 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript12436176
PHP171070

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.09
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%
Functions3
▷ Named functions3100.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
PNG images were not found in this plugin