Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.38MB] [CPU: ▼2.75ms] Passed 4 tests
Server-side resources used by Nonaki – Drag and Drop Email Template builder and Newsletter plugin for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 44.94 ▼2.37 |
Dashboard /wp-admin | 3.70 ▲0.40 | 47.05 ▼1.87 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 51.51 ▲3.10 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 81.95 ▼9.85 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 36.35 ▲5.31 |
Settings /wp-admin/admin.php?page=nonaki-settings | 3.51 | 34.17 |
Dashboard /wp-admin/admin.php?page=wpnonaki | 3.52 | 33.46 |
Add-ons /wp-admin/admin.php?page=nonaki-addons | 3.55 | 31.51 |
Contacts /wp-admin/edit.php?post_type=nonaki_contact | 3.66 | 37.30 |
List /wp-admin/edit-tags.php?taxonomy=list&post_type=nonaki_contact | 3.60 | 32.95 |
New Template /wp-admin/admin.php?page=nonaki-choice-type | 3.56 | 33.97 |
Templates /wp-admin/edit.php?post_type=nonaki | 3.65 | 33.66 |
Server storage [IO: ▲4.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Nonaki – Drag and Drop Email Template builder and Newsletter plugin for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲170 | 15.59 ▲0.84 | 1.61 ▼0.36 | 38.56 ▼4.16 |
Dashboard /wp-admin | 2,344 ▲162 | 6.20 ▲1.32 | 151.31 ▲41.06 | 41.55 ▼1.44 |
Posts /wp-admin/edit.php | 2,232 ▲140 | 3.41 ▲1.37 | 83.04 ▲41.33 | 35.99 ▼2.93 |
Add New Post /wp-admin/post-new.php | 1,566 ▲33 | 18.89 ▼4.46 | 679.42 ▲86.18 | 52.67 ▼1.83 |
Media Library /wp-admin/upload.php | 1,526 ▲135 | 5.08 ▲0.84 | 127.13 ▲23.15 | 41.54 ▼7.69 |
Settings /wp-admin/admin.php?page=nonaki-settings | 1,023 | 3.67 | 75.82 | 29.84 |
Dashboard /wp-admin/admin.php?page=wpnonaki | 927 | 3.19 | 37.69 | 26.56 |
Add-ons /wp-admin/admin.php?page=nonaki-addons | 1,043 | 3.06 | 38.49 | 32.57 |
Contacts /wp-admin/edit.php?post_type=nonaki_contact | 1,292 | 3.34 | 45.04 | 32.55 |
List /wp-admin/edit-tags.php?taxonomy=list&post_type=nonaki_contact | 1,384 | 3.49 | 42.53 | 28.62 |
New Template /wp-admin/admin.php?page=nonaki-choice-type | 1,170 | 3.10 | 36.33 | 28.67 |
Templates /wp-admin/edit.php?post_type=nonaki | 1,224 | 3.26 | 45.93 | 31.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 6× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general3/content.php
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/password1/content.php
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general1/content.php
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general2/content.php
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/password2/content.php
- > /wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general/content.php
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Nonaki\\Base' not found in wp-content/plugins/nonaki-email-template-customizer/includes/render.php:6
- > PHP Fatal error
Uncaught Error: Class 'Nonaki\\Base' not found in wp-content/plugins/nonaki-email-template-customizer/includes/settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/nonaki-email-template-customizer/editor/template.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_nonaki_email_preset() in wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general3/general.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_nonaki_email_preset() in wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general/general.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_nonaki_email_preset() in wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/general1/general.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_nonaki_email_preset() in wp-content/plugins/nonaki-email-template-customizer/modules/templates/email-presets/password1/general.php:8
- > PHP Fatal error
Uncaught Error: Class 'Nonaki\\Base' not found in wp-content/plugins/nonaki-email-template-customizer/includes/metabox.php:5
- > PHP Fatal error
Trait 'Nonaki\\BaseTrait' not found in wp-content/plugins/nonaki-email-template-customizer/includes/menu.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'Nonaki\\Base' not found in wp-content/plugins/nonaki-email-template-customizer/includes/cpt.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7 in nonaki-email-template-customizer/assets to your readme.txt
nonaki-email-template-customizer/nonaki.php 85% from 13 tests
Analyzing the main PHP file in "Nonaki – Drag and Drop Email Template builder and Newsletter plugin for WordPress" version 1.0.11
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("nonaki-email-template-customizer.php" instead of "nonaki.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected7,813 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 924 | 312 | 4,977 |
JavaScript | 3 | 66 | 54 | 2,579 |
CSS | 4 | 70 | 6 | 250 |
SVG | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 26 | |
▷ Abstract classes | 2 | 7.69% |
▷ Concrete classes | 24 | 92.31% |
▷ Final classes | 1 | 4.17% |
Methods | 163 | |
▷ Static methods | 15 | 9.20% |
▷ Public methods | 150 | 92.02% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 7.98% |
Functions | 53 | |
▷ Named functions | 32 | 60.38% |
▷ Anonymous functions | 21 | 39.62% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin