Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/big-picture-analytics/the-big-picture.php+49
syntax error, unexpected end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼143.41ms] Passed 4 tests
Analyzing server-side resources used by Point and Click Analytics by The Big Picture
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.55 ▲5.99 |
Dashboard /wp-admin | 3.06 ▲0.00 | 44.53 ▼6.87 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.63 ▲2.85 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 89.45 ▼565.71 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 28.96 ▼3.91 |
Server storage [IO: ▲10.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Point and Click Analytics by The Big Picture
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲108 | 15.86 ▲0.29 | 7.62 ▼1.27 | 50.37 ▼4.55 |
Dashboard /wp-admin | 2,973 ▲39 | 5.87 ▼0.06 | 135.31 ▼9.12 | 104.44 ▼5.68 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.70 ▲0.00 | 65.93 ▼0.98 | 79.60 ▼16.06 |
Add New Post /wp-admin/post-new.php | 1,672 ▲170 | 18.92 ▲0.41 | 364.88 ▲2.56 | 102.27 ▼10.16 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.02 | 150.16 ▼15.60 | 115.18 ▼10.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/big-picture-analytics/options.php:2
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/big-picture-analytics/the-big-picture.php on line 49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: A description for screenshot #3 is required in big-picture-analytics/assets to your readme.txt
big-picture-analytics/the-big-picture.php 85% from 13 tests
The main PHP file in "Point and Click Analytics by The Big Picture" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 175 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("big-picture-analytics.php" instead of "the-big-picture.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin127 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 39 | 19 | 105 |
CSS | 1 | 4 | 2 | 20 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 2.89MB with 1.91MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/tbp-guide-1.png | 260.46KB | 95.73KB | ▼ 63.25% |
assets/screenshot-2.png | 769.21KB | 213.13KB | ▼ 72.29% |
assets/tbp-guide-2.png | 243.47KB | 89.87KB | ▼ 63.09% |
assets/screenshot-4.png | 606.80KB | 161.68KB | ▼ 73.36% |
assets/tbp-guide-3.png | 227.69KB | 93.24KB | ▼ 59.05% |