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.02MB] [CPU: ▼1.70ms] Passed 4 tests
Analyzing server-side resources used by PlusPrice
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.80 ▼2.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.78 ▼7.21 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.84 ▲4.65 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.32 ▲4.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.11 ▼1.27 |
Server storage [IO: ▲2.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
PlusPrice: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.65 ▼0.73 | 1.79 ▼0.10 | 45.48 ▲2.55 |
Dashboard /wp-admin | 2,224 ▲36 | 4.84 ▼0.06 | 111.97 ▼8.03 | 42.56 ▼1.53 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▲0.04 | 38.01 ▲1.14 | 32.65 ▲0.23 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.28 ▼0.43 | 685.98 ▲28.98 | 50.67 ▼15.15 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.23 ▲0.05 | 100.78 ▲5.75 | 43.90 ▲0.67 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/plusprice/plugsprice.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 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
10 plugin tags: drag-and-drop, elementor pricing table, elementor, drgu and drop pricing table, landing page...
plusprice/plugsprice.php 77% from 13 tests
The main PHP script in "PlusPrice" version 1.0.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("plusprice.php" instead of "plugsprice.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin11,473 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,299 |
PHP | 3 | 152 | 33 | 956 |
Sass | 1 | 73 | 0 | 671 |
CSS | 2 | 57 | 41 | 518 |
Markdown | 1 | 7 | 0 | 17 |
JavaScript | 1 | 0 | 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.09 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 19 | 76.00% |
▷ Protected methods | 6 | 24.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pricing-shape.png | 2.02KB | 2.21KB | 0.00% |