Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.07ms] Passed 4 tests
This is a short check of server-side resources used by PointNXT
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.73 ▲5.01 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.40 ▲1.68 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 41.73 ▼4.66 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.35 ▼15.45 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.49 ▼1.85 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by PointNXT
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲23 | 14.35 ▼0.25 | 1.63 ▼0.34 | 43.14 ▲4.28 |
Dashboard /wp-admin | 2,218 ▲37 | 5.61 ▼0.13 | 84.20 ▼17.17 | 40.51 ▼0.60 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.98 ▲0.02 | 36.41 ▲2.00 | 34.58 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,552 ▲15 | 18.35 ▲0.09 | 608.08 ▼6.20 | 85.64 ▲10.95 |
Media Library /wp-admin/upload.php | 1,414 ▲11 | 4.18 ▲0.06 | 101.49 ▼2.73 | 43.24 ▼2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Interface 'Pointnxt_Automation' not found in wp-content/plugins/pointnxt/steps/EnableWooCommerceAPI.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Pointnxt_Automation' not found in wp-content/plugins/pointnxt/steps/SendWooCommerceKeys.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Pointnxt_Automation' not found in wp-content/plugins/pointnxt/steps/GenerateWooCommerceKeys.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Pointnxt_Automation' not found in wp-content/plugins/pointnxt/steps/EnsureWooCommerceActive.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pointnxt/pointnxt.php:139
- > PHP Fatal error
Uncaught Error: Interface 'Pointnxt_Automation' not found in wp-content/plugins/pointnxt/steps/EnsureWooCommercePlugin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
6 plugin tags: etsy, walmart, pointnxt, flipkart, amazon...
pointnxt/pointnxt.php Passed 13 tests
This is the main PHP file of "PointNXT" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Helps you easily integrate your WooCommerce store with PointNXT.
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
Success! There were no dangerous files found in this plugin341 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 50 | 19 | 268 |
JavaScript | 1 | 14 | 3 | 61 |
CSS | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pointnxtlogo.png | 44.58KB | 15.96KB | ▼ 64.20% |