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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by Article
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 40.31 ▲1.68 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.80 ▼4.20 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.51 ▼0.55 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 79.04 ▼9.09 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 33.57 ▲0.15 |
All Articles /wp-admin/edit.php?post_type=article | 3.33 | 35.06 |
Add New /wp-admin/post-new.php?post_type=article | 3.41 | 43.77 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Article
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.56 ▼1.06 | 5.16 ▲3.38 | 52.70 ▲11.43 |
Dashboard /wp-admin | 2,236 ▲48 | 5.86 ▲0.96 | 97.97 ▼13.49 | 37.56 ▼9.00 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.01 ▼0.04 | 39.60 ▲1.12 | 35.37 ▲3.74 |
Add New Post /wp-admin/post-new.php | 1,546 ▲27 | 23.24 ▼0.11 | 658.84 ▼19.36 | 57.95 ▼11.31 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.13 ▼0.07 | 103.67 ▼0.23 | 46.96 ▲1.39 |
All Articles /wp-admin/edit.php?post_type=article | 1,097 | 1.95 | 34.35 | 32.45 |
Add New /wp-admin/post-new.php?post_type=article | 2,207 | 7.65 | 182.51 | 69.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Screenshots: Please a description for screenshot #2 in article/assets to your readme.txt
- Screenshots: Screenshot #1 (Main screen) image missing
article/article.php 92% from 13 tests
The entry point to "Article" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin360 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 172 | 229 |
PO File | 2 | 38 | 38 | 131 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 6 | |
▷ Global constants | 6 | 100.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