Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Error in wp-content/plugins/pimex-for-ninja-forms/lib/actions/async.php+3
Uncaught Error: Class 'NF_Abstracts_Action' not found in wp-content/plugins/pimex-for-ninja-forms/lib/actions/async.php:3
Stack trace:
#0 wp-content/plugins/pimex-for-ninja-forms/pimex-for-ninja-forms.php(15): require_once()
#1 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#2 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.50ms] Passed 4 tests
This is a short check of server-side resources used by Pimex for Ninja Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.02 ▲4.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.64 ▼4.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.39 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.23 ▼21.49 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.65 ▲1.51 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Pimex for Ninja Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.37 | 1.67 ▲0.05 | 44.47 ▲0.24 |
Dashboard /wp-admin | 2,198 ▲18 | 5.57 ▼0.08 | 82.81 ▼9.43 | 38.91 ▼6.59 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.99 ▼0.03 | 37.60 ▼3.11 | 35.89 ▲2.79 |
Add New Post /wp-admin/post-new.php | 1,526 ▼11 | 23.24 ▲4.97 | 671.20 ▲50.21 | 55.34 ▼5.20 |
Media Library /wp-admin/upload.php | 1,391 ▼6 | 4.21 ▲0.03 | 100.40 ▼6.92 | 42.52 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'NF_Abstracts_Action' not found in wp-content/plugins/pimex-for-ninja-forms/lib/actions/async.php:3
- > PHP Fatal error
Uncaught Error: Class 'NF_Abstracts_Action' not found in wp-content/plugins/pimex-for-ninja-forms/lib/actions/async.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: "pimex.co"
pimex-for-ninja-forms/pimex-for-ninja-forms.php 92% from 13 tests
The entry point to "Pimex for Ninja Forms" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
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
Success! There were no dangerous files found in this plugin140 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 32 | 82 |
JavaScript | 1 | 20 | 0 | 58 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 4 | 57.14% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
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