84% voce-seo

Code Review | Voce SEO

WordPress plugin Voce SEO scored84%from 54 tests.

About plugin

  • Plugin page: voce-seo
  • Plugin version: 0.6.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7.0-4.2.4
  • WordPress version: 6.3.1
  • First release: Jan 6, 2014
  • Latest release: Nov 29, 2016
  • Number of updates: 53
  • Update frequency: every 20.3 days
  • Top authors: prettyboymp (35.85%)matstars (20.75%)csloisel (18.87%)kevinlangleyjr (13.21%)smccafferty (9.43%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,421 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 successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.30MB] [CPU: ▼7.16ms] Passed 4 tests

An overview of server-side resources used by Voce SEO
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.74 ▲0.2745.83 ▼2.07
Dashboard /wp-admin3.67 ▲0.3250.81 ▼13.62
Posts /wp-admin/edit.php3.73 ▲0.3652.77 ▼6.44
Add New Post /wp-admin/post-new.php6.19 ▲0.30100.03 ▼6.51
Media Library /wp-admin/upload.php3.53 ▲0.3039.83 ▲2.82
SEO Settings /wp-admin/options-general.php?page=vseo-page3.5035.07

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
vseo-general
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-posts
widget_recent-comments
VSEO_Version

Browser metrics Passed 4 tests

This is an overview of browser requirements for Voce SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,821 ▲6014.27 ▼0.101.69 ▲0.1343.75 ▲1.68
Dashboard /wp-admin2,199 ▲225.57 ▼0.0081.94 ▼11.1742.70 ▲4.23
Posts /wp-admin/edit.php2,101 ▼22.01 ▼0.0238.49 ▼3.4234.16 ▼3.69
Add New Post /wp-admin/post-new.php6,404 ▲4,86920.94 ▲2.80903.24 ▲283.7365.80 ▼8.19
Media Library /wp-admin/upload.php1,404 ▲74.17 ▼0.0396.05 ▼11.9644.56 ▲2.67
SEO Settings /wp-admin/options-general.php?page=vseo-page8092.0025.0629.47

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • vseo-general
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • VSEO_Version

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% 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
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/voce-seo/voce-seo.php:549

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
1 plugin tags: seo

voce-seo/voce-seo.php Passed 13 tests

The main PHP script in "Voce SEO" version 0.6.3 is automatically included on every request by WordPress
108 characters long description:
An SEO plugin taking things from both WP SEO and All in One SEO but leaving out the VIP incompatible pieces.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,557 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP142842751,396
Markdown1260110
JSON20051

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity21.18
▷ Minimum class complexity1.00
▷ Maximum class complexity117.00
Average method complexity3.96
▷ Minimum method complexity1.00
▷ Maximum method complexity23.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods76
▷ Static methods3242.11%
▷ Public methods6484.21%
▷ Protected methods00.00%
▷ Private methods1215.79%
Functions24
▷ Named functions1979.17%
▷ Anonymous functions520.83%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin