90% wpdevdesign-rankmath-integration-for-oxygen

Code Review | WPDevDesign - Oxygen - Rank Math Integration

WordPress plugin WPDevDesign - Oxygen - Rank Math Integration scored90%from 54 tests.

About plugin

  • Plugin page: wpdevdesign-rankm...
  • Plugin version: 1.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.6
  • WordPress version: 6.3.1
  • First release: Jul 23, 2019
  • Latest release: Dec 19, 2020
  • Number of updates: 8
  • Update frequency: every 64.5 days
  • Top authors: srikat (100%)

Code review

54 tests

User reviews

9 reviews

Install metrics

2,000+ active /8,052 total downloads

Benchmarks

Plugin footprint 83% 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: ▲0.01MB] [CPU: ▼2.30ms] Passed 4 tests

This is a short check of server-side resources used by WPDevDesign - Oxygen - Rank Math Integration
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.57 ▼3.93
Dashboard /wp-admin3.31 ▲0.0143.44 ▼4.50
Posts /wp-admin/edit.php3.36 ▲0.0146.95 ▼1.42
Add New Post /wp-admin/post-new.php5.89 ▲0.0199.36 ▲3.58
Media Library /wp-admin/upload.php3.23 ▲0.0135.23 ▲0.65

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for WPDevDesign - Oxygen - Rank Math Integration
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.24 ▼1.114.22 ▲2.6140.40 ▼12.23
Dashboard /wp-admin2,206 ▲154.88 ▲0.0099.16 ▲1.6342.74 ▲4.01
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0641.82 ▼0.6636.84 ▲2.15
Add New Post /wp-admin/post-new.php1,514 ▼617.62 ▼5.18655.24 ▲15.8653.45 ▲2.02
Media Library /wp-admin/upload.php1,385 ▼34.29 ▲0.08102.64 ▲1.9748.07 ▲4.59

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 96% from 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
5 plugin tags: oxygen builder, rankmath, rank math, oxygen, seo

wpdevdesign-rankmath-integration-for-oxygen/plugin.php 92% from 13 tests

The entry point to "WPDevDesign - Oxygen - Rank Math Integration" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wpdevdesign-rankmath-integration-for-oxygen.php" instead of "plugin.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin37 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1142826
JavaScript12511

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.64
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%
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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin