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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.60ms] Passed 4 tests
This is a short check of server-side resources used by XYZZY Basic SEO & Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.45 ▼0.74 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.40 ▼1.37 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 42.67 ▼7.80 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 79.98 ▼15.84 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.09 ▼1.39 |
Ajustes /wp-admin/admin.php?page=xyzzy-basic-seo-analytics/inc/views/xbs-admin.php | 3.27 | 31.92 |
Acerca de /wp-admin/admin.php?page=xyzzy-basic-seo-analytics/inc/views/xbs-instructions.php | 3.27 | 31.39 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
XYZZY Basic SEO & Analytics: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 14.47 ▲0.08 | 1.75 ▼0.08 | 46.92 ▲1.52 |
Dashboard /wp-admin | 2,231 ▲40 | 4.87 ▼1.03 | 113.78 ▲3.02 | 45.87 ▲4.05 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.02 ▼0.04 | 33.53 ▼3.98 | 33.73 ▲0.77 |
Add New Post /wp-admin/post-new.php | 6,230 ▲4,711 | 19.33 ▼3.76 | 874.82 ▲225.32 | 51.80 ▲4.41 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.20 ▲0.01 | 93.52 ▼21.70 | 40.58 ▼7.81 |
Ajustes /wp-admin/admin.php?page=xyzzy-basic-seo-analytics/inc/views/xbs-admin.php | 840 | 2.02 | 22.24 | 27.47 |
Acerca de /wp-admin/admin.php?page=xyzzy-basic-seo-analytics/inc/views/xbs-instructions.php | 835 | 2.02 | 22.28 | 27.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/xyzzy-basic-seo-analytics/xyzzy-basic-seo.php
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/functions/head-embed.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/views/xbs-instructions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/functions/admin-meta.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/views/xbs-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/functions/admin-menu.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xyzzy-basic-seo-analytics/inc/functions/enqueue-styles.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: google news, analytics, seo
xyzzy-basic-seo-analytics/xyzzy-basic-seo.php 85% from 13 tests
The main file in "XYZZY Basic SEO & Analytics" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("xyzzy-basic-seo-analytics.php" instead of "xyzzy-basic-seo.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected654 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 96 | 36 | 372 |
PO File | 2 | 52 | 54 | 227 |
JavaScript | 1 | 8 | 0 | 52 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 21 | 91.30% |
▷ Anonymous functions | 2 | 8.70% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected