Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.62MB] [CPU: ▼1.03ms] Passed 4 tests
Analyzing server-side resources used by Followize
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 39.41 ▼1.91 |
Dashboard /wp-admin | 3.92 ▲0.62 | 47.91 ▲4.37 |
Posts /wp-admin/edit.php | 3.97 ▲0.62 | 47.63 ▲8.29 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 82.91 ▼13.56 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 39.42 ▲6.99 |
Adicionando/Editando Formulário /wp-admin/admin.php?page=followize-page-form | 3.85 | 45.66 |
Formulários /wp-admin/admin.php?page=followize-page | 3.82 | 34.96 |
Configurações /wp-admin/admin.php?page=followize-config | 3.81 | 33.28 |
Server storage [IO: ▲0.38MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 71 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_followize_form_fields |
wp_followize_form |
wp_followize_fields |
New WordPress options |
---|
widget_theysaidso_widget |
widget_followize-form |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Followize
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,007 ▲246 | 13.63 ▼0.98 | 12.92 ▲10.86 | 44.77 ▼0.30 |
Dashboard /wp-admin | 2,327 ▲150 | 5.70 ▲0.10 | 82.60 ▼2.69 | 40.33 ▲4.58 |
Posts /wp-admin/edit.php | 2,229 ▲126 | 2.03 ▲0.07 | 38.22 ▼6.26 | 33.56 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,559 ▲20 | 23.28 ▲4.73 | 662.97 ▲46.97 | 51.92 ▼14.76 |
Media Library /wp-admin/upload.php | 1,526 ▲129 | 4.23 ▲0.08 | 93.78 ▼6.40 | 41.91 ▼0.09 |
Adicionando/Editando Formulário /wp-admin/admin.php?page=followize-page-form | 2,535 | 2.44 | 52.37 | 45.99 |
Formulários /wp-admin/admin.php?page=followize-page | 1,031 | 2.13 | 27.22 | 26.24 |
Configurações /wp-admin/admin.php?page=followize-config | 1,001 | 2.20 | 23.51 | 30.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 3 tables
- wp_followize_form_fields
- wp_followize_form
- wp_followize_fields
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_followize-form
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 53 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=followize-page-form
- > Notice in wp-content/plugins/followize/Model/form-field.php+146
Undefined property: Followize\Field::$value
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Tela de configuração do plugin), #2 (Listagem dos formulários cadastrados), #3 (Edição de um formulário cadastrado)
followize/followize.php 92% from 13 tests
This is the main PHP file of "Followize" version 0.7.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 397 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,297 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 600 | 550 | 3,294 |
JavaScript | 22 | 363 | 255 | 1,984 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 17.76 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 117.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 1 | 5.88% |
▷ Concrete classes | 16 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 210 | |
▷ Static methods | 68 | 32.38% |
▷ Public methods | 159 | 75.71% |
▷ Protected methods | 21 | 10.00% |
▷ Private methods | 30 | 14.29% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 compressed PNG files occupy 0.14MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 11.30KB | 11.47KB | 0.00% |
screenshot-1.png | 27.76KB | 28.73KB | 0.00% |
screenshot-3.png | 99.63KB | 99.56KB | 0.07% |