73% webcijfers-seo-scan

Code Review | RankWise SEO WordPress Plugin

WordPress plugin RankWise SEO WordPress Plugin scored73%from 54 tests.

About plugin

  • Plugin page: webcijfers-seo-scan
  • Plugin version: 2.1.12
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.7.2
  • WordPress version: 6.3.1
  • First release: Nov 4, 2013
  • Latest release: Jan 13, 2014
  • Number of updates: 42
  • Update frequency: every 1.7 days
  • Top authors: webcijfers (73.81%)danielmuldernl (28.57%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /5,261 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▼1.91MB] [CPU: ▼51.84ms] Passed 4 tests

A check of server-side resources used by RankWise SEO WordPress Plugin
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.394.47 ▼34.74
Dashboard /wp-admin2.09 ▼1.215.18 ▼43.23
Posts /wp-admin/edit.php2.09 ▼1.266.09 ▼45.31
Add New Post /wp-admin/post-new.php2.09 ▼3.796.42 ▼84.09
Media Library /wp-admin/upload.php2.09 ▼1.145.28 ▼30.67

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for RankWise SEO WordPress Plugin
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,916 ▲15913.57 ▼1.218.54 ▲6.5338.62 ▼5.11
Dashboard /wp-admin2,221 ▲305.77 ▲0.8696.68 ▼4.4136.16 ▼6.43
Posts /wp-admin/edit.php2,104 ▲182.04 ▼0.0142.35 ▲3.8136.26 ▲1.94
Add New Post /wp-admin/post-new.php6,444 ▲4,91127.86 ▲4.83970.30 ▲272.1855.48 ▲4.07
Media Library /wp-admin/upload.php1,400 ▲94.26 ▲0.0692.98 ▼9.3039.46 ▼5.46

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Uninstall procedure validation failed for this plugin
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

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
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/webcijfers-seo-scan/rankwise.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Add images for these screenshots: #1 (Post and page level scan implementation. No scan performed. Click SCAN NOW to perform page or post level SEO scan.), #2 (Post and page level scan implementation. Scan results devided into logical tabs for a better overview of the results.), #3 (Post and page level scan implementation. The Google Authorship check and Google Plus profile scan results.)
  • Tags: Please delete some tags, you are using 25 tag instead of maximum 10
Please take inspiration from this readme.txt

webcijfers-seo-scan/rankwise.php 92% from 13 tests

"RankWise SEO WordPress Plugin" version 2.1.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("webcijfers-seo-scan.php" instead of "rankwise.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected256 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP17122256

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.21
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.19MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png16.91KB8.19KB▼ 51.58%
screenshot-2.png68.93KB30.85KB▼ 55.25%
logo.png5.83KB3.10KB▼ 46.82%
screenshot-3.png50.97KB25.39KB▼ 50.18%
logowebcijfers.png7.15KB7.13KB0.37%