Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.69ms] Passed 4 tests
Server-side resources used by Easy Circle Contents
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.44 ▲2.35 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.77 ▼1.95 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.77 ▲2.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.09 ▼10.14 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.15 ▼0.71 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_easy_circles_contents |
wp_easy_circles_contents_data |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Circle Contents
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.38 ▼0.10 | 1.86 ▲0.26 | 43.80 ▲2.69 |
Dashboard /wp-admin | 2,198 ▲21 | 5.56 ▼0.12 | 97.25 ▲13.63 | 70.73 ▲26.50 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.06 ▲0.05 | 38.59 ▲1.45 | 33.35 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.11 ▲0.10 | 731.27 ▲54.39 | 55.60 ▲0.71 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.31 ▲0.10 | 96.57 ▼15.70 | 69.14 ▲22.42 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-circle-content/views/icons_list.php
- > /wp-content/plugins/easy-circle-content/views/circle_content.tpl.php
- 30× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 45
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 15
- > PHP Notice
Trying to get property 'icon_size' of non-object in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 5
- > PHP Notice
Undefined variable: icons_list in wp-content/plugins/easy-circle-content/views/icons_list.php on line 4
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 28
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 28
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 11
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 19
- > PHP Notice
Trying to get property 'title_size' of non-object in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 11
- > PHP Notice
Undefined variable: circle_content in wp-content/plugins/easy-circle-content/views/circle_content.tpl.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
easy-circle-content/easy-circles-contents.php 69% from 13 tests
This is the main PHP file of "Easy Circle Contents" version 1.21, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-circle-content.php" instead of "easy-circles-contents.php")
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
There were no executable files found in this plugin2,159 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 377 | 30 | 2,051 |
CSS | 2 | 14 | 0 | 86 |
JavaScript | 2 | 5 | 16 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 11 | |
▷ Named functions | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fb.png | 1.59KB | 1.00KB | ▼ 37.42% |
images/remove.png | 1.27KB | 1.20KB | ▼ 5.76% |
images/edit.png | 0.87KB | 0.87KB | 0.00% |
images/manage.png | 2.02KB | 1.69KB | ▼ 15.99% |
images/icon.png | 0.69KB | 0.68KB | ▼ 1.42% |