Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.86ms] Passed 4 tests
A check of server-side resources used by Sleekplan - User Feedback, Roadmap & Changelog
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 42.14 ▼2.21 |
Dashboard /wp-admin | 3.46 ▲0.12 | 51.67 ▼10.10 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 49.53 ▲2.47 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 83.86 ▼9.58 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 38.06 ▲4.86 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sleekplan - User Feedback, Roadmap & Changelog
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲55 | 14.27 ▼0.01 | 1.73 ▼0.11 | 42.54 ▼2.65 |
Dashboard /wp-admin | 2,235 ▲58 | 5.64 ▲0.11 | 87.15 ▲1.50 | 41.67 ▲2.77 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.01 ▼0.02 | 35.87 ▲1.46 | 34.98 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 23.13 ▲4.86 | 650.03 ▲0.43 | 62.79 ▲1.13 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.26 ▲0.09 | 98.92 ▼1.43 | 43.34 ▲1.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sleekplan/sleekplan-wordpress.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/sleekplan/views/admin.inc.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sleekplan/require/functions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function slpl_data_load_websites() in wp-content/plugins/sleekplan/views/admin-settings.inc.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sleekplan/views/admin-auth.inc.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function slpl_data_load_stats() in wp-content/plugins/sleekplan/views/admin-dashboard.inc.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
sleekplan/sleekplan-wordpress.php 69% from 13 tests
Analyzing the main PHP file in "Sleekplan - User Feedback, Roadmap & Changelog" version 0.2.0
Please take the time to fix the following:
- Requires PHP: Required version must match the one declared in readme.txt ("5.2" instead of "7.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sleekplan.php" instead of "sleekplan-wordpress.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("2.0" instead of "2.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,480 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 325 | 430 | 1,235 |
CSS | 2 | 1 | 2 | 153 |
JavaScript | 3 | 9 | 12 | 92 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 18 | 100.00% |
▷ Public methods | 8 | 44.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 55.56% |
Functions | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 9 | 75.00% |
▷ Class constants | 3 | 25.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin