Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.92ms] Passed 4 tests
Analyzing server-side resources used by APG Google Image Sitemap Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.94 ▼2.53 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.60 ▼3.69 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.11 ▲3.08 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 82.43 ▼6.60 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.85 ▲1.13 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for APG Google Image Sitemap Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.28 ▼1.31 | 1.53 ▼0.34 | 40.71 ▼8.69 |
Dashboard /wp-admin | 2,206 ▲27 | 5.84 ▲0.91 | 99.75 ▼18.65 | 40.77 ▼6.37 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.01 | 36.71 ▲1.60 | 33.68 ▼1.97 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.29 ▲0.15 | 668.28 ▼17.59 | 52.58 ▼0.35 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.06 | 95.49 ▼10.42 | 42.92 ▼4.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/google-image-sitemap-feed-with-multisite-support/includes/admin/funciones-apg.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/google-image-sitemap-feed-with-multisite-support/includes/admin/clases/contenido-xml.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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:
- Screenshots: Please add an image for screenshot #1 (Captura de pantalla de sitemap-image.xml.)
google-image-sitemap-feed-with-multisite-support/apg-xml-sitemap.php 85% from 13 tests
The principal PHP file in "APG Google Image Sitemap Feed" v. 2.0.2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("google-image-sitemap-feed-with-multisite-support.php" instead of "apg-xml-sitemap.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 668 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,271 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 9 | 21 | 564 |
SVG | 2 | 0 | 0 | 270 |
PHP | 5 | 48 | 48 | 229 |
Markdown | 1 | 60 | 0 | 133 |
PO File | 1 | 11 | 26 | 75 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin