78% awebon-plagiarism-checker-with-progressbar

Code Review | Awebon Plagiarism Checker With ProgressBar

WordPress plugin Awebon Plagiarism Checker With ProgressBar scored78%from 54 tests.

About plugin

  • Plugin page: awebon-plagiarism...
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.7
  • WordPress version: 6.3.1
  • First release: Nov 1, 2016
  • Latest release: Dec 22, 2016
  • Number of updates: 25
  • Update frequency: every 2.1 days
  • Top authors: jkarthi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,020 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼9.39ms] Passed 4 tests

Server-side resources used by Awebon Plagiarism Checker With ProgressBar
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0139.19 ▼2.03
Dashboard /wp-admin3.32 ▼0.0350.26 ▼15.59
Posts /wp-admin/edit.php3.37 ▲0.0242.78 ▼5.73
Add New Post /wp-admin/post-new.php5.92 ▲0.0383.76 ▼14.19
Media Library /wp-admin/upload.php3.24 ▲0.0135.86 ▲0.17
Awebon Plagiarism Checker Settings /wp-admin/options-general.php?page=awebon-plagiarism-admin3.2134.29

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 10 new options
New WordPress options
awebon_plagiarism_post_type_to_check
awebon_plagiarism_min_words
db_upgraded
widget_recent-posts
theysaidso_admin_options
awebon_plagiarism_no_of_words
can_compress_scripts
awebon_plagiarism_offset_size
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Awebon Plagiarism Checker With ProgressBar
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,834 ▲4813.27 ▼0.941.71 ▼0.3339.41 ▼3.79
Dashboard /wp-admin2,240 ▲665.82 ▲0.2488.94 ▼6.7740.24 ▼2.14
Posts /wp-admin/edit.php2,151 ▲512.35 ▲0.3337.80 ▲2.5734.50 ▼3.69
Add New Post /wp-admin/post-new.php6,303 ▲4,77519.14 ▼3.98963.41 ▲283.1542.99 ▼8.29
Media Library /wp-admin/upload.php1,445 ▲424.52 ▲0.36104.05 ▼0.1643.93 ▲0.19
Awebon Plagiarism Checker Settings /wp-admin/options-general.php?page=awebon-plagiarism-admin9272.0727.4828.99

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
These items require your attention
  • The uninstall procedure has failed, leaving 10 options in the database
    • awebon_plagiarism_offset_size
    • awebon_plagiarism_post_type_to_check
    • widget_recent-posts
    • widget_theysaidso_widget
    • awebon_plagiarism_min_words
    • theysaidso_admin_options
    • awebon_plagiarism_no_of_words
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awebon-plagiarism-checker-with-progressbar/index.php:48

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
    • > GET request to /wp-admin/options-general.php?page=awebon-plagiarism-admin
    • > Javascript (severe) in unknown
    /wp-content/plugins/awebon-plagiarism-checker-with-progressbar/js/bootstrap.min.js?ver=3.3.6 5:215 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3

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
6 plugin tags: plagiarism checker, progressbar, checker, google custom search api, plagiarism...

awebon-plagiarism-checker-with-progressbar/index.php 92% from 13 tests

"Awebon Plagiarism Checker With ProgressBar" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("awebon-plagiarism-checker-with-progressbar.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,740 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS235501,368
PHP14612297
JavaScript27575

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
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%
Functions12
▷ Named functions12100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin