Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼694.21ms] Passed 4 tests
An overview of server-side resources used by Pootle cloud
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.91 ▲13.71 |
Dashboard /wp-admin | 3.06 ▲0.00 | 42.59 ▲1.74 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 42.26 ▼7.52 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 91.21 ▼2,758.97 |
Media Library /wp-admin/upload.php | 3.00 ▼0.00 | 25.54 ▼12.09 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Pootle cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,687 ▲181 | 15.85 ▲2.27 | 7.52 ▲0.07 | 47.34 ▲3.58 |
Dashboard /wp-admin | 2,947 ▲90 | 5.95 ▲0.13 | 138.11 ▼3.98 | 102.58 ▼4.32 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▼0.00 | 63.59 ▼4.89 | 87.89 ▼9.96 |
Add New Post /wp-admin/post-new.php | 1,851 ▼2 | 18.74 ▼0.27 | 354.48 ▲14.45 | 113.09 ▲4.01 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 4.99 ▼0.02 | 146.50 ▼7.36 | 107.55 ▼6.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pootle-cloud/pootle-cloud.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Applying templates), #2 (Pootle design templates), #3 (Community contributed design templates), #4 (My design templates), #5 (Saving Design templates), #6 (Logging into Pootle Cloud), #7 (Managing Design templates)
pootle-cloud/pootle-cloud.php Passed 13 tests
"Pootle cloud" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
16 characters long description:
A happy place :)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin417 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 61 | 8 | 203 |
PHP | 1 | 31 | 69 | 115 |
CSS | 1 | 18 | 6 | 99 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin