Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼6.19ms] Passed 4 tests
Analyzing server-side resources used by Facturante - Facturación Electrónica
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.47 | 40.89 ▲3.81 |
Dashboard /wp-admin | 3.77 ▲0.47 | 51.75 ▲3.00 |
Posts /wp-admin/edit.php | 3.82 ▲0.47 | 44.08 ▼5.59 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.49 | 85.84 ▼25.96 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 35.71 ▲3.86 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Facturante - Facturación Electrónica
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,874 ▲128 | 13.20 ▼1.54 | 1.94 ▲0.14 | 44.45 ▲0.50 |
Dashboard /wp-admin | 2,255 ▲70 | 5.93 ▲0.07 | 99.75 ▼17.17 | 37.75 ▼10.91 |
Posts /wp-admin/edit.php | 2,138 ▲70 | 2.06 ▲0.04 | 35.77 ▼3.20 | 31.39 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,573 ▲39 | 18.43 ▼4.98 | 599.00 ▼46.70 | 59.36 ▲6.60 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.35 ▲0.15 | 100.13 ▼6.67 | 43.36 ▲1.55 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #2, #4 in facturante/assets to your readme.txt
facturante/facturante.php Passed 13 tests
The principal PHP file in "Facturante - Facturación Electrónica" v. 1.09 is loaded by WordPress automatically on each request
49 characters long description:
Facturante integrates WooCommerce with Facturante
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
Success! There were no dangerous files found in this plugin3,663 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 674 | 691 | 2,449 |
JavaScript | 3 | 183 | 48 | 747 |
CSS | 3 | 37 | 7 | 314 |
PO File | 1 | 29 | 44 | 68 |
SVG | 3 | 0 | 3 | 63 |
JSON | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 35 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 23 | 16.43% |
▷ Public methods | 126 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 10.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 5 | 22.73% |
▷ Class constants | 17 | 77.27% |
▷ Public constants | 17 | 100.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
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 3.33KB | 2.07KB | ▼ 37.99% |
assets/icon-256x256.png | 11.75KB | 4.01KB | ▼ 65.87% |
assets/banner-772x250.png | 20.01KB | 7.37KB | ▼ 63.19% |