67% ixml

Code Review | iXML - Google XML sitemap generator

WordPress plugin iXML - Google XML sitemap generator scored67%from 54 tests.

About plugin

  • Plugin page: ixml
  • Plugin version: 0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4.2
  • WordPress version: 6.3.1
  • First release: Sep 26, 2012
  • Latest release: Sep 26, 2012
  • Number of updates: 10
  • Update frequency: every 0.2 days
  • Top authors: iCount (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /3,330 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼1.16MB] [CPU: ▼41.07ms] Passed 4 tests

This is a short check of server-side resources used by iXML - Google XML sitemap generator
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.82 ▼0.6415.82 ▼20.73
Dashboard /wp-admin2.86 ▼0.4916.87 ▼36.76
Posts /wp-admin/edit.php2.86 ▼0.5016.25 ▼29.09
Add New Post /wp-admin/post-new.php2.86 ▼3.0316.26 ▼77.70
Media Library /wp-admin/upload.php2.86 ▼0.3715.08 ▼20.04
iXML /wp-admin/options-general.php?page=ixml/iXML.php2.8620.29

Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests

Input-output and database impact of this plugin
These are issues you should consider
  • The plugin illegally modified 1 file (0.55KB) outside of "wp-content/plugins/ixml/" and "wp-content/uploads/"
    • (new file) sitemap.xml
Filesystem: 5 new files
Database: no new tables, 8 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_theysaidso_widget
recovery_mode_email_last_sent
iXML_settings

Browser metrics Passed 4 tests

iXML - Google XML sitemap generator: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,860 ▲12513.27 ▼1.031.87 ▼0.0634.08 ▼14.22
Dashboard /wp-admin2,224 ▲395.88 ▲1.04105.49 ▼9.0043.12 ▼3.04
Posts /wp-admin/edit.php2,110 ▲212.01 ▼0.0233.99 ▼1.8040.92 ▲6.30
Add New Post /wp-admin/post-new.php53 ▼1,4610.44 ▼17.200.09 ▼647.8114.31 ▼41.17
Media Library /wp-admin/upload.php1,403 ▲154.25 ▲0.06102.98 ▲6.5667.43 ▲25.27
iXML /wp-admin/options-general.php?page=ixml/iXML.php9212.0429.6532.68

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method wp_iXML::iXML_setup() should not be called statically
  • This plugin does not fully uninstall, leaving 7 options in the database
    • theysaidso_admin_options
    • recovery_mode_email_last_sent
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=ixml/iXML.php
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method wp_iXML::iXML_setup() should not be called statically
    • > GET request to /wp-admin/options-general.php?page=ixml/iXML.php
    • > Deprecated in wp-includes/class-wp-hook.php+310
    Non-static method wp_iXML::iXML_options_box() should not be called statically

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ixml/iXML.php:562

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === ixml === )
The official readme.txt might help

ixml/iXML.php 85% from 13 tests

The main file in "iXML - Google XML sitemap generator" v. 0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: The principal plugin file should be the same as the plugin slug ("ixml.php" instead of "iXML.php")
  • Description: Keep the plugin description shorter than 140 characters (currently 179 characters long)

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 plugin579 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP14666465
XSLT1100107
XML1004
CSS1003

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions15
▷ Named functions15100.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
No PNG images were found in this plugin