84% super-seo-content-cloner

Code Review | Super SEO Content Cloner

WordPress plugin Super SEO Content Cloner scored84%from 54 tests.

About plugin

  • Plugin page: super-seo-content...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4.0-6.3
  • WordPress version: 6.3.1
  • First release: Sep 22, 2022
  • Latest release: Aug 11, 2023
  • Number of updates: 8
  • Update frequency: every 40.4 days
  • Top authors: xfinitysoft (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /313 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.03MB] [CPU: ▼4.56ms] Passed 4 tests

Analyzing server-side resources used by Super SEO Content Cloner
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0437.18 ▼4.30
Dashboard /wp-admin3.34 ▼0.0046.60 ▼14.61
Posts /wp-admin/edit.php3.46 ▲0.1049.89 ▲4.14
Add New Post /wp-admin/post-new.php5.95 ▲0.06104.22 ▲14.90
Media Library /wp-admin/upload.php3.27 ▲0.0434.21 ▼3.46
Support /wp-admin/admin.php?page=xsspd-support3.3029.15
Super SEO Content Cloner /wp-admin/admin.php?page=xsspd-settings3.2931.57

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
xsspd_options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Super SEO Content Cloner
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,863 ▲11713.42 ▼0.981.83 ▼0.1840.08 ▼1.78
Dashboard /wp-admin2,244 ▲595.17 ▲0.27109.88 ▼4.8743.72 ▼2.38
Posts /wp-admin/edit.php2,135 ▲462.31 ▲0.3138.23 ▲0.9033.58 ▼3.66
Add New Post /wp-admin/post-new.php6,253 ▲4,73426.38 ▲2.99871.11 ▲169.5155.53 ▲2.89
Media Library /wp-admin/upload.php1,423 ▲384.40 ▲0.21101.15 ▼1.9440.56 ▼1.93
Support /wp-admin/admin.php?page=xsspd-support9061.8826.1028.68
Super SEO Content Cloner /wp-admin/admin.php?page=xsspd-settings1,0231.9928.0631.60

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 7 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • xsspd_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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
Please take a closer look at the following
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/super-seo-content-cloner/includes/views/xsspd-settings.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/super-seo-content-cloner/includes/views/xsspd-accordin.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_post() in wp-content/plugins/super-seo-content-cloner/includes/views/xsspd-duplicateor-popup.php:1

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

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: page duplicator, seo content cloner, post duplicator, duplicate, wordpress

super-seo-content-cloner/super-seo-content-cloner.php 92% from 13 tests

The primary PHP file in "Super SEO Content Cloner" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "4.4.0")

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
There were no executable files found in this plugin1,476 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP795121836
JavaScript33132377
CSS3106263

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity21.00
▷ Minimum class complexity2.00
▷ Maximum class complexity48.00
Average method complexity2.88
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods32
▷ Static methods00.00%
▷ Public methods2578.12%
▷ Protected methods00.00%
▷ Private methods721.88%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
assets/img/xfinity-logo.png2.15KB1.04KB▼ 51.55%