Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.86ms] Passed 4 tests
An overview of server-side resources used by Affiliates Ninja Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.85 ▼9.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.76 ▼4.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.57 ▼1.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.75 ▼10.24 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.49 ▼3.61 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Affiliates Ninja Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.23 ▼1.15 | 1.83 ▼0.13 | 40.83 ▼0.58 |
Dashboard /wp-admin | 2,209 ▲18 | 4.85 ▼1.04 | 115.12 ▲10.41 | 42.92 ▼2.20 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.05 ▲0.00 | 41.16 ▼15.90 | 34.76 ▼18.81 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.14 ▼0.18 | 650.61 ▼58.02 | 52.13 ▼4.13 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.25 ▲0.02 | 101.86 ▲1.84 | 43.74 ▼2.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9 in affiliates-ninja-forms/assets to your readme.txt
- Tags: There are too many tags (21 tag instead of maximum 10)
affiliates-ninja-forms/affiliates-ninja-forms.php 92% from 13 tests
"Affiliates Ninja Forms" version 3.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 319 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,017 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 97 | 386 | 1,017 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 45.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 6.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 23 | 74.19% |
▷ Public methods | 24 | 77.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 22.58% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin