Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼5.18ms] Passed 4 tests
An overview of server-side resources used by Awesome Color Palettes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.15 ▲6.33 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.39 ▼5.84 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.57 ▼4.42 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 88.08 ▼10.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.08 ▲0.38 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Awesome Color Palettes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲45 | 13.25 ▼1.05 | 1.98 ▼0.07 | 38.09 ▼13.26 |
Dashboard /wp-admin | 2,206 ▲15 | 5.77 ▲0.72 | 99.43 ▼15.63 | 39.59 ▼6.37 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 35.78 ▼1.26 | 34.16 ▲0.36 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.49 ▼5.77 | 689.86 ▲17.97 | 63.13 ▲5.46 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.02 | 95.05 ▼7.24 | 41.94 ▼1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/awesome-color-palettes/awesome-color-palette.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/awesome-color-palettes/awesome-color-palette.php on line 2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/awesome-color-palettes/awesome-color-palette.php on line 5
- > PHP Notice
Undefined variable: palette in wp-content/plugins/awesome-color-palettes/awesome-color-palette.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/awesome-color-palettes/awesome-color-palettes.php:15
- > PHP Notice
Undefined variable: palette in wp-content/plugins/awesome-color-palettes/awesome-color-palette.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== awesome-color-palettes ===
) - Screenshots: Please a description for screenshot #0 in awesome-color-palettes/assets to your readme.txt
- Screenshots: Screenshot #1 (When the user hovers over the palette expands to show the hex values) image required
awesome-color-palettes/awesome-color-palettes.php 85% from 13 tests
"Awesome Color Palettes" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
No dangerous file extensions were detected79 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 19 | 62 |
CSS | 1 | 4 | 0 | 17 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 5 | |
▷ Named functions | 5 | 100.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 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin