Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼148.46ms] Passed 4 tests
This is a short check of server-side resources used by Genesis Design Palette Pro - Export CSS
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 37.78 ▲12.86 |
Dashboard /wp-admin | 3.07 ▲0.01 | 45.12 ▼0.30 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 50.32 ▼2.65 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 95.20 ▼589.02 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 35.49 ▼1.86 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Genesis Design Palette Pro - Export CSS
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲108 | 15.79 ▲0.16 | 12.07 ▲1.76 | 50.03 ▲0.66 |
Dashboard /wp-admin | 2,970 ▲36 | 5.85 ▼0.12 | 147.58 ▲2.54 | 121.38 ▲1.13 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.00 | 69.20 ▼2.38 | 103.78 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,604 ▼2,120 | 18.84 ▲3.65 | 387.33 ▼93.44 | 123.11 ▲0.01 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.03 ▼0.00 | 160.74 ▼1.64 | 131.56 ▲4.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 75% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/gppro-export-css/gppro-export-css.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
2 plugin tags: genesis, genesis design palette pro
gppro-export-css/gppro-export-css.php Passed 13 tests
The entry point to "Genesis Design Palette Pro - Export CSS" version 1.1.1 is a PHP file that has certain tags in its header comment area
36 characters long description:
Adds a button to export raw CSS file
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin256 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 116 | 159 |
Markdown | 1 | 27 | 0 | 53 |
PO File | 1 | 11 | 11 | 44 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected