Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼176.04ms] Passed 4 tests
Analyzing server-side resources used by Google Mobile Sitemap Feed With Multisite Support
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 24.34 ▲0.65 |
Dashboard /wp-admin | 3.07 ▲0.01 | 30.17 ▼9.87 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 31.24 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 80.79 ▼693.87 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 21.68 ▼0.28 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 1 new option
New WordPress options |
---|
gn-sitemap-mobile-feed-mu-version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Google Mobile Sitemap Feed With Multisite Support
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,668 ▲17 | 15.98 ▲0.32 | 8.17 ▲2.55 | 72.38 ▼6.42 |
Dashboard /wp-admin | 2,932 ▲37 | 6.11 ▼0.04 | 115.28 ▼18.00 | 164.41 ▼10.17 |
Posts /wp-admin/edit.php | 2,739 ▼1 | 3.24 ▲0.01 | 61.11 ▼3.29 | 136.49 ▼2.88 |
Add New Post /wp-admin/post-new.php | 3,745 ▼62 | 19.05 ▲0.59 | 424.43 ▼38.60 | 165.98 ▲1.22 |
Media Library /wp-admin/upload.php | 1,754 ▲2 | 5.48 ▼0.06 | 146.37 ▲0.49 | 183.62 ▼0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/google-mobile-sitemap-feed-with-multisite-support/includes/feed-sitemap-mobile.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Captura de pantalla de sitemap-mobile.xml.)
google-mobile-sitemap-feed-with-multisite-support/xml-sitemap.php 77% from 13 tests
"Google Mobile Sitemap Feed With Multisite Support" version 1.0.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("google-mobile-sitemap-feed-with-multisite-support.php" instead of "xml-sitemap.php")
- Description: The description should be shorter than 140 characters (currently 666 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,228 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 9 | 21 | 564 |
SVG | 2 | 0 | 0 | 270 |
PHP | 3 | 46 | 64 | 206 |
Markdown | 1 | 50 | 0 | 111 |
PO File | 1 | 12 | 13 | 77 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 9 | |
▷ Static methods | 9 | 100.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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