Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.04ms] Passed 4 tests
A check of server-side resources used by Gerenciador de Códigos de Rastreamento Convr
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.53 ▼1.14 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.12 ▼4.57 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.03 ▼3.41 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 86.13 ▼11.05 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.10 ▲5.15 |
Adicionar Código /wp-admin/admin.php?page=gcrc_adicionar_codigo | 3.32 | 33.16 |
Código de Rastreamento /wp-admin/admin.php?page=gcrc_codigo | 3.33 | 40.18 |
Server storage [IO: ▲4.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 46 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
This is an overview of browser requirements for Gerenciador de Códigos de Rastreamento Convr
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲50 | 14.33 ▼0.40 | 1.71 ▲0.02 | 43.01 ▲0.25 |
Dashboard /wp-admin | 2,205 ▲31 | 5.52 ▼0.13 | 87.42 ▼1.36 | 75.43 ▲31.61 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.02 ▲0.03 | 33.62 ▼6.51 | 32.19 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,698 ▲172 | 22.46 ▼0.62 | 759.01 ▲52.14 | 49.60 ▼4.97 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.20 ▼0.07 | 102.98 ▼3.40 | 75.20 ▲27.98 |
Adicionar Código /wp-admin/admin.php?page=gcrc_adicionar_codigo | 1,501 | 3.91 | 64.59 | 166.60 |
Código de Rastreamento /wp-admin/admin.php?page=gcrc_codigo | 1,058 | 3.23 | 45.91 | 106.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+240
Undefined index: editar
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+303
Undefined variable: alerta
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+321
Undefined index: nome
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+323
Undefined index: codigo
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+335
Undefined index: posicao
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+355
Undefined index: onde
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+370
Undefined index: paginas
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+389
Undefined index: posts
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+412
Undefined index: esconder_pagina
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=gcrc_adicionar_codigo
- > Notice in wp-content/plugins/codigos-de-rastreamento-convr/index.php+429
Undefined index: esconder_post
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/codigos-de-rastreamento-convr/index.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: incorporao, pixel, rastremeno, body, cdigo...
codigos-de-rastreamento-convr/index.php 77% from 13 tests
The main file in "Gerenciador de Códigos de Rastreamento Convr" v. 0.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("5.4" instead of "4.5")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("codigos-de-rastreamento-convr.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected23,782 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 1,491 | 55 | 13,196 |
JavaScript | 10 | 2,545 | 1,910 | 10,145 |
PHP | 1 | 63 | 12 | 441 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.19MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/delete-hover.png | 2.98KB | 0.27KB | ▼ 91.03% |
img/delete.png | 2.99KB | 0.27KB | ▼ 91.04% |
img/logo.png | 4.17KB | 1.61KB | ▼ 61.29% |
img/anuncio-inf.png | 32.64KB | 13.02KB | ▼ 60.13% |
img/edit-hover.png | 3.06KB | 0.32KB | ▼ 89.64% |