10% free-online-article-rewriter

Code Review | Free Online Article Rewriter

WordPress plugin Free Online Article Rewriter scored 10% from 54 tests.

About plugin

  • Plugin page: free-online-artic...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.7
  • WordPress version: 5.8.1
  • First release: Mar 22, 2017
  • Latest release: Mar 22, 2017
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: prepostseo (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active / 7,116 total downloads


Plugin footprint 75% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
  • Install procedure had errors
    • > Warning in wp-includes/class-wp-hook.php+303
    call_user_func_array() expects parameter 1 to be a valid callback, class 'FAR_WP_ContentProtection' does not have a method 'far_wpa_install'

Server metrics [RAM: ▲0.03MB] [CPU: ▼133.88ms] Passed 4 tests

Analyzing server-side resources used by Free Online Article Rewriter
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1339.38 ▲14.06
Dashboard /wp-admin3.10 ▲0.0452.94 ▲2.01
Posts /wp-admin/edit.php3.15 ▲0.0468.83 ▲18.16
Add New Post /wp-admin/post-new.php5.46 ▲0.03137.60 ▼545.88
Media Library /wp-admin/upload.php3.04 ▲0.0336.82 ▼5.69

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

Free Online Article Rewriter: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,723 ▲12715.85 ▲0.4210.92 ▲2.7552.49 ▲3.25
Dashboard /wp-admin2,981 ▲476.05 ▲0.12171.85 ▲17.41141.58 ▲18.91
Posts /wp-admin/edit.php2,764 ▲252.59 ▼0.1199.34 ▲22.10112.00 ▲10.64
Add New Post /wp-admin/post-new.php6,285 ▲4,60220.36 ▲1.60688.06 ▲305.33156.31 ▲29.85
Media Library /wp-admin/upload.php1,772 ▼505.03 ▲0.01145.84 ▼13.74161.42 ▲32.61

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 0% from 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
Almost there! Just fix the following items
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/free-online-article-rewriter/settingPage.php
    • > /wp-content/plugins/free-online-article-rewriter/far-actions.php
  • 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/free-online-article-rewriter/free-online-article-rewriter.php:39

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: article spinner, rewriter, article rewriter

free-online-article-rewriter/free-online-article-rewriter.php Passed 13 tests

"Free Online Article Rewriter" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
102 characters long description:
Rewrite your post content if you found plagiarized content in it. Keep your site Safe from goolge bots

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
Good job! No executable or dangerous file extensions detected353 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions5100.00%
▷ Anonymous functions00.00%
▷ Global constants1100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
imgs/logo.png0.56KB0.50KB▼ 10.57%
imgs/logo-n.png0.58KB0.33KB▼ 42.23%