Benchmarks
Plugin footprint 83% 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.03MB] [CPU: ▼4.85ms] Passed 4 tests
Server-side resources used by Dinamize
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.98 ▲5.34 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.11 ▼4.84 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.95 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.13 ▼15.56 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.04 ▲3.61 |
Forms /wp-admin/admin.php?page=dinamize | 3.24 | 37.22 |
New form /wp-admin/admin.php?page=dinamize-forms-new | 3.22 | 30.14 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_dinamizewidget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dinamize
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲200 | 13.59 ▼0.85 | 7.73 ▲5.82 | 43.13 ▼0.49 |
Dashboard /wp-admin | 2,230 ▲75 | 5.80 ▲0.17 | 101.36 ▼1.18 | 40.02 ▼3.83 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.06 ▲0.06 | 41.48 ▼0.09 | 34.92 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,535 ▲15 | 17.61 ▼5.51 | 678.88 ▲2.09 | 63.44 ▲12.06 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.16 ▼0.08 | 95.61 ▼6.81 | 40.98 ▼7.06 |
Forms /wp-admin/admin.php?page=dinamize | 1,016 | 1.68 | 31.48 | 29.30 |
New form /wp-admin/admin.php?page=dinamize-forms-new | 798 | 2.06 | 25.03 | 24.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_dinamizewidget
Smoke tests 50% from 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 0% 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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dinamize/dinamize.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/dinamize/admin/class.list-form.php on line 3
- > PHP Warning
Use of undefined constant DINAMIZE_PLUGIN_DIR - assumed 'DINAMIZE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/dinamize/admin/admin.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/dinamize/includes/capabilities.php:3
- > PHP Warning
require_once(DINAMIZE_PLUGIN_DIR/admin/class.list-form.php): failed to open stream: No such file or directory in wp-content/plugins/dinamize/admin/admin.php on line 2
- > PHP Warning
require_once(DINAMIZE_PLUGIN_DIR/admin/class.list-form.php): failed to open stream: No such file or directory in wp-content/plugins/dinamize/class.widget.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'DINAMIZE_PLUGIN_DIR/admin/class.list-form.php' (include_path='.:/usr/share/php') in wp-content/plugins/dinamize/class.widget.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/dinamize/admin/class.list-form.php on line 3
- > PHP Warning
Use of undefined constant DINAMIZE_PLUGIN_DIR - assumed 'DINAMIZE_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/dinamize/class.widget.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'DINAMIZE_PLUGIN_DIR/admin/class.list-form.php' (include_path='.:/usr/share/php') in wp-content/plugins/dinamize/admin/admin.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/dinamize/admin/class.list-form.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: dinamize automation, dinamize mail, e-mail marketing, dinamize
dinamize/dinamize.php Passed 13 tests
The main file in "Dinamize" v. 1.1.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
109 characters long description:
Para agilizar seu tempo a Dinamize criou um plugin que possibilita a integração da ferramenta com seu site.
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
Everything looks great! No dangerous files found in this plugin1,608 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 203 | 52 | 711 |
JavaScript | 1 | 102 | 61 | 697 |
PO File | 1 | 34 | 34 | 106 |
CSS | 1 | 12 | 20 | 94 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 14.33 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 7 | 20.00% |
▷ Public methods | 34 | 97.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.86% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected