Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.65MB] [CPU: ▼13.96ms] Passed 4 tests
A check of server-side resources used by Qupra Network Finder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.05 ▲0.13 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.85 ▼8.68 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 53.79 ▲2.28 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 45.28 ▼49.55 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 41.06 ▲4.09 |
inzendingen /wp-admin/admin.php?page=qupra_tools_listing | 3.22 | 29.99 |
Settings /wp-admin/admin.php?page=qupra_tools | 3.20 | 36.75 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 39 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_qupra_request_quote_records |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
nextpertise_tool_data_api_verified |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Qupra Network Finder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲174 | 13.47 ▼1.10 | 11.19 ▲9.38 | 40.77 ▼6.59 |
Dashboard /wp-admin | 2,225 ▲51 | 5.62 ▼0.05 | 93.37 ▼4.72 | 43.96 ▼0.37 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▼0.01 | 40.12 ▲2.04 | 38.15 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 21.15 ▼1.84 | 635.90 ▼32.96 | 52.46 ▼12.89 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.20 ▲0.00 | 97.75 ▼10.62 | 44.90 ▼1.05 |
inzendingen /wp-admin/admin.php?page=qupra_tools_listing | 1,000 | 2.16 | 24.69 | 29.09 |
Settings /wp-admin/admin.php?page=qupra_tools | 1,025 | 2.02 | 25.62 | 30.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_qupra_request_quote_records
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- nextpertise_tool_data_api_verified
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/qupra-network-finder/public/partials/search-result-template-v3.php
- > /wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php
- > /wp-content/plugins/qupra-network-finder/admin/partials/nextpertise-network-finder-admin-display.php
- > /wp-content/plugins/qupra-network-finder/public/partials/nextpertise-network-finder-public-display.php
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: button_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php on line 92
- > PHP Notice
Undefined variable: font_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php on line 20
- > PHP Notice
Undefined variable: button_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template-v3.php on line 20
- > PHP Notice
Undefined variable: container_border_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php on line 3
- > PHP Notice
Undefined variable: displayPrice in wp-content/plugins/qupra-network-finder/public/partials/search-result-template-v3.php on line 64
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/qupra-network-finder/admin/class-admin-settings.php on line 318
- > PHP Notice
Undefined variable: container_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template-v3.php on line 3
- > PHP Warning
Use of undefined constant MRA_N_PLUGIN_PATH - assumed 'MRA_N_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php on line 52
- > PHP Notice
Undefined variable: button_border_color in wp-content/plugins/qupra-network-finder/public/partials/search-result-template-v3.php on line 20
- > PHP Warning
Use of undefined constant MRA_N_PLUGIN_PATH - assumed 'MRA_N_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/qupra-network-finder/public/partials/search-result-template.php on line 53
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=qupra_tools
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=qupra_tools 182 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=qupra_tools
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=qupra_tools 191 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=qupra_tools
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=qupra_tools 200 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=qupra_tools
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=qupra_tools 209 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/admin.php?page=qupra_tools
- > Rendering (warning) in unknown
/wp-admin/admin.php?page=qupra_tools 218 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: network finder
qupra-network-finder/qupra-network-finder.php 92% from 13 tests
The main PHP file in "Qupra Network Finder" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,907 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 218 | 620 | 1,205 |
CSS | 2 | 48 | 29 | 373 |
JavaScript | 5 | 21 | 109 | 313 |
SVG | 2 | 0 | 2 | 16 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 16.28% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.15MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 56.99KB | 23.30KB | ▼ 59.11% |
assets/screenshot-2.png | 50.45KB | 21.73KB | ▼ 56.93% |
assets/icon-256x256.png | 38.04KB | 12.73KB | ▼ 66.53% |
assets/icon-128x128.png | 12.68KB | 5.19KB | ▼ 59.08% |