Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼11.48ms] Passed 4 tests
Analyzing server-side resources used by Checkin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.08 ▼7.07 |
Dashboard /wp-admin | 3.36 ▲0.02 | 46.52 ▼18.11 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 52.82 ▲2.87 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.07 ▼19.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.33 ▼1.28 |
Add New /wp-admin/post-new.php?post_type=checkin | 3.41 | 54.48 |
All Checkins /wp-admin/edit.php?post_type=checkin | 3.33 | 35.71 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Checkin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,942 ▲171 | 13.59 ▼0.64 | 5.82 ▲4.00 | 45.22 ▲3.99 |
Dashboard /wp-admin | 2,237 ▲45 | 4.83 ▼1.01 | 104.08 ▼5.33 | 40.66 ▼3.74 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.03 ▼0.12 | 41.54 ▲0.02 | 34.90 ▲0.24 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.29 ▲5.08 | 678.85 ▲72.94 | 53.49 ▼0.26 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.15 ▼0.07 | 102.41 ▼1.43 | 41.99 ▼6.04 |
Add New /wp-admin/post-new.php?post_type=checkin | 2,299 | 7.70 | 171.74 | 65.71 |
All Checkins /wp-admin/edit.php?post_type=checkin | 1,101 | 1.94 | 32.55 | 31.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
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 | 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/checkin/templates/single-checkin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/checkin/checkin.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== checkin ===
)
checkin/checkin.php Passed 13 tests
The entry point to "Checkin" version 1.0 is a PHP file that has certain tags in its header comment area
89 characters long description:
This plugin will allow you to check where are you at any moment, directly from your blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin659 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 2 | 26 | 0 | 167 |
CSS | 2 | 9 | 2 | 166 |
PHP | 2 | 31 | 58 | 166 |
JavaScript | 2 | 19 | 0 | 160 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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 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