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.00MB] [CPU: ▼4.26ms] Passed 4 tests
This is a short check of server-side resources used by Virtuaria - Integração de Catálogo com Redes Sociais
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.75 ▲4.50 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.88 ▼11.80 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.29 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.92 ▼3.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.37 ▼1.95 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Virtuaria - Integração de Catálogo com Redes Sociais
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲17 | 14.23 ▼0.48 | 1.66 ▼0.14 | 44.47 ▲7.85 |
Dashboard /wp-admin | 2,206 ▲28 | 5.65 ▼0.03 | 95.25 ▼19.84 | 43.97 ▼0.89 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.00 ▲0.04 | 37.17 ▼0.40 | 36.28 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,535 ▲8 | 23.23 ▲0.16 | 661.36 ▲67.78 | 50.38 ▼1.44 |
Media Library /wp-admin/upload.php | 1,414 ▲20 | 4.14 ▼0.12 | 97.72 ▼7.95 | 43.23 ▲0.74 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: marketing, integration, facebook, instagram, meta...
virtuaria-catalogo-redes-sociais/virtuaria-facebook-integration.php 92% from 13 tests
The entry point to "Virtuaria - Integração de Catálogo com Redes Sociais" version 1.2.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("virtuaria-catalogo-redes-sociais.php" instead of "virtuaria-facebook-integration.php")
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
There were no executable files found in this plugin788 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 97 | 168 | 699 |
JavaScript | 1 | 10 | 0 | 89 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 17 | 68.00% |
▷ Protected methods | 2 | 8.00% |
▷ Private methods | 6 | 24.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
There were not PNG files found in your plugin