Benchmarks
Plugin footprint 65% 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.10MB] [CPU: ▼8.17ms] Passed 4 tests
A check of server-side resources used by Datos de Facturación para México
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.65 ▼4.82 |
Dashboard /wp-admin | 3.40 ▲0.09 | 44.17 ▼4.59 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.04 ▼2.06 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 82.29 ▼21.21 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.67 ▲4.49 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Datos de Facturación para México
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,895 ▲138 | 14.04 ▼0.36 | 5.95 ▲3.53 | 45.00 ▲1.43 |
Dashboard /wp-admin | 2,220 ▲35 | 5.84 ▼0.03 | 104.16 ▲1.90 | 38.95 ▼5.59 |
Posts /wp-admin/edit.php | 2,102 ▲10 | 2.01 ▲0.03 | 40.44 ▲0.14 | 36.80 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,542 ▲6 | 23.23 ▲0.01 | 653.73 ▲57.91 | 44.64 ▼4.82 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.28 ▲0.07 | 111.36 ▲6.85 | 47.22 ▲1.55 |
Uninstaller [IO: ▲0.07MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the followingZombie WordPress options were found after uninstall: 6 options
- The plugin did not uninstall correctly, leaving 22 files (0.07MB) in the plugin directory
- (new file) admin/js/datos-de-facturacion-para-mexico-admin.js
- (new file) includes/class-datos-de-facturacion-para-mexico-activator.php
- (new file) admin/index.php
- (new file) admin/css/datos-de-facturacion-para-mexico-admin.css
- (new file) admin/class-datos-de-facturacion-para-mexico-admin.php
- (new file) datos-de-facturacion-para-mexico.php
- (new file) README.txt
- (new file) LICENSE.txt
- (new file) includes/class-datos-de-facturacion-para-mexico-deactivator.php
- (new file) admin/partials/datos-de-facturacion-para-mexico-admin-display.php
- ...
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/datos-de-facturacion-para-mexico/public/partials/datos-de-facturacion-para-mexico-public-display.php
- > /wp-content/plugins/datos-de-facturacion-para-mexico/admin/partials/datos-de-facturacion-para-mexico-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in datos-de-facturacion-para-mexico/assets to your readme.txt
datos-de-facturacion-para-mexico/datos-de-facturacion-para-mexico.php 92% from 13 tests
"Datos de Facturación para México" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Git Repository: Please remove the Git repository from this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin558 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 200 | 761 | 519 |
JavaScript | 2 | 11 | 76 | 39 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 10.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 8 | 20.00% |
▷ Public methods | 29 | 72.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 27.50% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There were not PNG files found in your plugin