Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼153.19ms] Passed 4 tests
Analyzing server-side resources used by InstaScaler - Get Traffic
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 33.98 ▲10.58 |
Dashboard /wp-admin | 3.11 ▲0.06 | 49.36 ▲0.08 |
Posts /wp-admin/edit.php | 3.22 ▲0.12 | 34.78 ▼22.23 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 93.34 ▼567.46 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 31.14 ▼23.14 |
Instascaler /wp-admin/admin.php?page=instawp-top-level-handle | 3.02 | 27.21 |
Support /wp-admin/admin.php?page=instawp-contact-us-page | 3.02 | 29.06 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for InstaScaler - Get Traffic
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 5,502 ▲1,906 | 17.15 ▲1.24 | 12.36 ▲4.30 | 45.47 ▼7.70 |
Dashboard /wp-admin | 4,660 ▲1,723 | 7.19 ▲1.08 | 211.96 ▲42.31 | 113.10 ▼20.97 |
Posts /wp-admin/edit.php | 4,172 ▲1,433 | 3.16 ▲0.46 | 119.91 ▲43.95 | 126.65 ▲18.24 |
Add New Post /wp-admin/post-new.php | 2,946 ▲1,263 | 19.26 ▲0.82 | 423.60 ▲4.61 | 120.13 ▲0.90 |
Media Library /wp-admin/upload.php | 2,883 ▲1,076 | 5.68 ▲0.69 | 160.92 ▼35.61 | 135.24 ▼12.40 |
Instascaler /wp-admin/admin.php?page=instawp-top-level-handle | 1,218 | 2.06 | 96.43 | 89.45 |
Support /wp-admin/admin.php?page=instawp-contact-us-page | 1,733 | 2.85 | 83.97 | 64.53 |
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 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/instascaler-get-traffic/public/partials/instawp-public-display.php
- > /wp-content/plugins/instascaler-get-traffic/admin/partials/instawp-admin-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=instawp-top-level-handle
- > Network (severe)
https://dashboard-testing.instascaler.com/48318a525c0e0382eea01ba5dac983fb.png - Failed to load resource: the server responded with a status of 522 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Please fix this invalid url: ""
instascaler-get-traffic/instawp.php 85% from 13 tests
The main PHP script in "InstaScaler - Get Traffic" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("instascaler-get-traffic.php" instead of "instawp.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
No dangerous file extensions were detected915 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 88 | 16 | 587 |
PHP | 12 | 123 | 523 | 190 |
JavaScript | 4 | 12 | 33 | 138 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 6 | |
▷ Named functions | 6 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/signup-img.png | 122.03KB | 52.95KB | ▼ 56.61% |