10% xoviwpsuite

Code Review | XOVI Wordpress Suite

WordPress plugin XOVI Wordpress Suite scored 10% from 54 tests.

About plugin

  • Plugin page: xoviwpsuite
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-4.4.2
  • WordPress version: 5.8.1
  • First release: Apr 23, 2013
  • Latest release: Feb 11, 2016
  • Number of updates: 21
  • Update frequency: every 48.8 days
  • Top authors: Tobba (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 1,929 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/xoviwpsuite/xoviplugin.php+48
    Undefined index: page

Server metrics [RAM: ▼1.83MB] [CPU: ▼188.76ms] Passed 4 tests

Analyzing server-side resources used by XOVI Wordpress Suite
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /1.80 ▼1.035.77 ▼27.81
Dashboard /wp-admin1.82 ▼1.246.02 ▼32.52
Posts /wp-admin/edit.php1.82 ▼1.296.02 ▼39.40
Add New Post /wp-admin/post-new.php1.82 ▼3.615.58 ▼655.30
Media Library /wp-admin/upload.php1.82 ▼1.187.06 ▼25.15
Backlinks /wp-admin/admin.php?page=xoviwpsuite/xovi_backlinks.php2.9024.84
Reportings /wp-admin/admin.php?page=xoviwpsuite/xovi_reporting.php2.9026.54
Rankingvalue /wp-admin/admin.php?page=xoviwpsuite/xovi_rankingvalue.php2.9021.96
pages /wp-admin/admin.php?page=xoviwpsuite/xovi_pages.php2.9022.71
Wonkeywords /wp-admin/admin.php?page=xoviwpsuite/xovi_wonkeywords.php2.9030.27
SEO Trends /wp-admin/admin.php?page=xoviwpsuite/xovi_seo.php2.9024.25
Lostkeywords /wp-admin/admin.php?page=xoviwpsuite/xovi_lostkeywords.php2.9023.84
Signals /wp-admin/admin.php?page=xoviwpsuite/xovi_socialsignals.php2.9024.43
Settings /wp-admin/admin.php?page=xoviwpsuite/xoviplugin.php2.9023.54
Rankings /wp-admin/admin.php?page=xoviwpsuite/xovi_rankings.php2.9025.78

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 59 new files
Database: no new tables, 1 new option
New WordPress options
xovi_options_vars

Browser metrics Passed 4 tests

This is an overview of browser requirements for XOVI Wordpress Suite
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,825 ▲22916.18 ▲0.6211.18 ▲2.9155.03 ▲8.08
Dashboard /wp-admin3,109 ▲1756.28 ▲0.35140.32 ▼2.07134.98 ▲29.47
Posts /wp-admin/edit.php2,847 ▲1082.74 ▲0.0465.50 ▼3.56105.16 ▲8.67
Add New Post /wp-admin/post-new.php1,747 ▲24714.77 ▼3.85452.21 ▲85.91134.05 ▲23.85
Media Library /wp-admin/upload.php1,918 ▲1115.38 ▲0.35153.00 ▲9.16141.20 ▲27.91
Backlinks /wp-admin/admin.php?page=xoviwpsuite/xovi_backlinks.php1,1162.3670.9487.76
Reportings /wp-admin/admin.php?page=xoviwpsuite/xovi_reporting.php1,1162.3657.1373.09
Rankingvalue /wp-admin/admin.php?page=xoviwpsuite/xovi_rankingvalue.php1,1112.3753.4169.07
pages /wp-admin/admin.php?page=xoviwpsuite/xovi_pages.php1,1142.3655.9768.86
Wonkeywords /wp-admin/admin.php?page=xoviwpsuite/xovi_wonkeywords.php1,1142.3857.9261.42
SEO Trends /wp-admin/admin.php?page=xoviwpsuite/xovi_seo.php1,1132.3653.9071.89
Lostkeywords /wp-admin/admin.php?page=xoviwpsuite/xovi_lostkeywords.php1,1142.3755.9065.16
Signals /wp-admin/admin.php?page=xoviwpsuite/xovi_socialsignals.php1,1112.3755.2667.09
Settings /wp-admin/admin.php?page=xoviwpsuite/xoviplugin.php1,4972.3763.20114.30
Rankings /wp-admin/admin.php?page=xoviwpsuite/xovi_rankings.php1,1112.3753.8070.05

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/xoviwpsuite/xoviplugin.php+48
    Undefined index: page
  • This plugin does not fully uninstall, leaving 1 option in the database
    • xovi_options_vars

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
  • 250 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=xoviwpsuite/xovi_rankings.php
    • > User deprecated in wp-includes/functions.php+5495
    has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 14× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_wonkeywords.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_seo.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_socialsignals.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_rankings.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_backlinks.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_rankingvalue.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_monitoring.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_preferences.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_credittable.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/xoviwpsuite/xovi_pages.php:4

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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
Please take inspiration from this readme.txt

xoviwpsuite/xoviplugin.php 92% from 13 tests

This is the main PHP file of "XOVI Wordpress Suite" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("xoviwpsuite.php" instead of "xoviplugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,007 lines of code in 52 files:
LanguageFilesBlank linesComment linesLines of code
PHP174153451,501
CSS25641238
PO File18297181
JavaScript32146287

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions42
▷ Named functions42100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/view.png0.79KB0.78KB▼ 1.97%
images/xovi.png0.88KB0.93KB0.00%
images/download.png0.68KB0.76KB0.00%