10% inline-review

Code Review | Inline Review

WordPress plugin Inline Review scored10%from 54 tests.

About plugin

  • Plugin page: inline-review
  • Plugin version: 1.2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6.0-4.0
  • WordPress version: 6.3.1
  • First release: Mar 11, 2014
  • Latest release: Nov 15, 2014
  • Number of updates: 13
  • Update frequency: every 19.2 days
  • Top authors: Nodewerx (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,494 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/inline-review/inc/review-display.php+16
    Trying to access array offset on value of type bool

Server metrics [RAM: ▲0.08MB] [CPU: ▼6.48ms] Passed 4 tests

An overview of server-side resources used by Inline Review
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0636.18 ▲1.01
Dashboard /wp-admin3.38 ▲0.0741.58 ▼4.81
Posts /wp-admin/edit.php3.49 ▲0.1443.78 ▼6.80
Add New Post /wp-admin/post-new.php5.98 ▲0.1080.77 ▼15.31
Media Library /wp-admin/upload.php3.30 ▲0.0733.34 ▲1.24
Inline Review Options /wp-admin/options-general.php?page=rview-admin3.2729.81

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Inline Review
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,860 ▲11414.46 ▲0.081.83 ▲0.1939.48 ▼4.41
Dashboard /wp-admin2,234 ▲465.84 ▼0.0398.12 ▼6.6137.24 ▼8.15
Posts /wp-admin/edit.php2,120 ▲312.06 ▲0.0635.72 ▼6.6831.58 ▼7.11
Add New Post /wp-admin/post-new.php6,511 ▲4,99725.82 ▲8.31889.34 ▲265.0069.62 ▲14.32
Media Library /wp-admin/upload.php1,419 ▲314.22 ▲0.0294.75 ▼5.8243.63 ▼0.26
Inline Review Options /wp-admin/options-general.php?page=rview-admin9181.7523.3726.50

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • nwxrview_options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

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
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inline-review/inc/admin-settings.php:10
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inline-review/inc/add-review.php:10

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 Passed 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
3 plugin tags: review, reviews, products

inline-review/inline-review.php Passed 13 tests

The main file in "Inline Review" v. 1.2.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
A Review engine for WordPress

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 plugin431 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP5139119289
CSS4347141
JavaScript1001

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity8.00
▷ Minimum class complexity3.00
▷ Maximum class complexity13.00
Average method complexity3.00
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.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