Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼9.66ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Parspeik
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 34.14 ▼2.16 |
Dashboard /wp-admin | 3.47 ▲0.12 | 43.77 ▼15.13 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.55 ▼2.36 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 79.64 ▼18.99 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.30 ▲2.79 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Parspeik
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.44 | 1.61 ▼0.05 | 39.76 ▲0.69 |
Dashboard /wp-admin | 2,209 ▲21 | 4.82 ▼0.06 | 108.91 ▼11.01 | 42.56 ▼4.17 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.02 | 40.83 ▲1.44 | 35.42 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,513 ▼25 | 17.46 ▼5.45 | 650.59 ▲31.69 | 74.00 ▲23.66 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.29 ▲0.02 | 96.00 ▲2.36 | 43.43 ▲0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.soap_fault.php:14
- > PHP Fatal error
require_once(): Failed opening required 'Mail/mimeDecode.php' (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-parspeik/lib/nusoap/nusoapmime.php on line 42
- > PHP Warning
require_once(Mail/mimeDecode.php): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-parspeik/lib/nusoap/nusoapmime.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.wsdl.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.xmlschema.php:15
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.soapclient.php:26
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.soap_val.php:17
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.soap_server.php:16
- > PHP Fatal error
Uncaught Error: Class 'nusoap_base' not found in wp-content/plugins/woocommerce-parspeik/lib/nusoap/class.soap_transport_http.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/woocommerce-parspeik/parspeik.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (15 tag instead of maximum 10)
- Requires at least: The plugin version is formatted incorrectly
woocommerce-parspeik/parspeik.php 85% from 13 tests
The entry point to "WooCommerce Parspeik" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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 ("woocommerce-parspeik.php" instead of "parspeik.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
No dangerous file extensions were detected12,251 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,253 | 5,181 | 12,234 |
CSS | 1 | 0 | 2 | 13 |
JavaScript | 2 | 0 | 19 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 74.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 388.00 |
Average method complexity | 8.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 82.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 369 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 368 | 99.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.27% |
Functions | 11 | |
▷ Named functions | 11 | 100.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
There are no PNG files in this plugin