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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.64 | 15.82 ▼20.73 |
Dashboard /wp-admin | 2.86 ▼0.49 | 16.87 ▼36.76 |
Posts /wp-admin/edit.php | 2.86 ▼0.50 | 16.25 ▼29.09 |
Add New Post /wp-admin/post-new.php | 2.86 ▼3.03 | 16.26 ▼77.70 |
Media Library /wp-admin/upload.php | 2.86 ▼0.37 | 15.08 ▼20.04 |
iXML /wp-admin/options-general.php?page=ixml/iXML.php | 2.86 | 20.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲125 | 13.27 ▼1.03 | 1.87 ▼0.06 | 34.08 ▼14.22 |
Dashboard /wp-admin | 2,224 ▲39 | 5.88 ▲1.04 | 105.49 ▼9.00 | 43.12 ▼3.04 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.01 ▼0.02 | 33.99 ▼1.80 | 40.92 ▲6.30 |
Add New Post /wp-admin/post-new.php | 53 ▼1,461 | 0.44 ▼17.20 | 0.09 ▼647.81 | 14.31 ▼41.17 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.25 ▲0.06 | 102.98 ▲6.56 | 67.43 ▲25.27 |
iXML /wp-admin/options-general.php?page=ixml/iXML.php | 921 | 2.04 | 29.65 | 32.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
- > PHP Fatal error
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 ===
)
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 66 | 465 |
XSLT | 1 | 10 | 0 | 107 |
XML | 1 | 0 | 0 | 4 |
CSS | 1 | 0 | 0 | 3 |
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 code | 0.40 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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