78% wp-sheet-editor-yoast-seo

Code Review | Bulk Edit YOAST SEO fields in Spreadsheet

WordPress plugin Bulk Edit YOAST SEO fields in Spreadsheet scored78%from 54 tests.

About plugin

  • Plugin page: wp-sheet-editor-y...
  • Plugin version: 1.1.7
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6-5.5
  • WordPress version: 6.3.1
  • First release: May 16, 2017
  • Latest release: Sep 16, 2020
  • Number of updates: 24
  • Update frequency: every 50.8 days
  • Top authors: JoseVega (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

1,000+ active /17,162 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.07MB] [CPU: ▼7.82ms] Passed 4 tests

Server-side resources used by Bulk Edit YOAST SEO fields in Spreadsheet
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0637.55 ▼7.51
Dashboard /wp-admin3.38 ▲0.0846.01 ▼6.30
Posts /wp-admin/edit.php3.50 ▲0.1448.99 ▼2.22
Add New Post /wp-admin/post-new.php5.97 ▲0.0788.68 ▼15.25
Media Library /wp-admin/upload.php3.31 ▲0.0738.56 ▲3.70
Bulk Edit Yoast SEO Fields /wp-admin/admin.php?page=wpseyoast_whats_new3.2527.95
Bulk Edit Yoast SEO Fields /wp-admin/admin.php?page=wpseyoast_welcome_page3.3144.22

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
wpseyoast_welcome_redirect
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Bulk Edit YOAST SEO fields in Spreadsheet
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.25 ▼0.321.77 ▼0.0542.45 ▼3.81
Dashboard /wp-admin2,195 ▲155.66 ▲0.0087.25 ▼6.4142.87 ▲3.42
Posts /wp-admin/edit.php2,100 ▼02.01 ▲0.0635.55 ▼4.2136.50 ▼2.64
Add New Post /wp-admin/post-new.php1,526 ▼223.10 ▼0.07648.69 ▼16.0255.28 ▼0.43
Media Library /wp-admin/upload.php1,397 ▼04.18 ▼0.07107.07 ▼7.5446.66 ▼1.41
Bulk Edit Yoast SEO Fields /wp-admin/admin.php?page=wpseyoast_whats_new7741.9923.8825.31
Bulk Edit Yoast SEO Fields /wp-admin/admin.php?page=wpseyoast_welcome_page8832.1725.3529.64

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 7 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • wpseyoast_welcome_redirect
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > Warning in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/index.php+164
    include(/1.1.7.php): failed to open stream: No such file or directory
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > Warning in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/index.php+164
    include(): Failed opening '/1.1.7.php' for inclusion (include_path='.:/usr/share/php')
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > Notice in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/index.php+166
    Undefined variable: items
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > Warning in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/index.php+182
    include(): Filename cannot be empty
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > Warning in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/index.php+182
    include(): Failed opening '' for inclusion (include_path='.:/usr/share/php')
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=wpseyoast_whats_new
    • > request to
    • > Notice in wp-config.php+20
    Undefined index: REQUEST_METHOD

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
Please fix the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/views/page-template.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-sheet-editor-yoast-seo/vendor/vg-plugin-sdk/samples/email-optin-form.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function WP_Sheet_Editor_YOAST_SEO_Lite_Obj() in wp-content/plugins/wp-sheet-editor-yoast-seo/views/welcome-page-content.php:2

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)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: quick edit, yoast seo, seo, bulk edit, pages...

wp-sheet-editor-yoast-seo/yoast-seo.php 92% from 13 tests

The entry point to "Bulk Edit YOAST SEO fields in Spreadsheet" version 1.1.7 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-sheet-editor-yoast-seo.php" instead of "yoast-seo.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
There were no executable files found in this plugin488 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP510262440
CSS16048

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.31
Average class complexity23.00
▷ Minimum class complexity22.00
▷ Maximum class complexity24.00
Average method complexity2.83
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods24
▷ Static methods14.17%
▷ Public methods2395.83%
▷ Protected methods00.00%
▷ Private methods14.17%
Functions1
▷ Named functions1100.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
2 PNG files occupy 0.06MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/imgs/logo-248x102.png14.09KB5.48KB▼ 61.08%
assets/imgs/icon-20x20.png45.33KB0.51KB▼ 98.88%