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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.53ms] Passed 4 tests
A check of server-side resources used by Hemmy Core
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.55 ▲0.20 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.59 ▼3.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.99 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.79 ▼8.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.64 ▲0.61 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hemmy Core
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 13.23 ▼1.15 | 4.36 ▲2.43 | 41.45 ▼1.71 |
Dashboard /wp-admin | 2,218 ▲18 | 5.86 ▲0.06 | 96.76 ▼6.07 | 38.94 ▼1.80 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.98 ▼0.02 | 38.67 ▲2.65 | 35.89 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.32 ▲0.25 | 655.51 ▼30.06 | 50.77 ▼4.07 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▼0.05 | 102.11 ▼6.05 | 43.43 ▼1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/hemmy-core/widgets/class-hemmy-core-widgets.php:250
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Instagram Widget), #2 (Twitter Widget), #3 (Mailchimp Widget), #4 (Post Additional Options)
hemmy-core/hemmy-core.php Passed 13 tests
Analyzing the main PHP file in "Hemmy Core" version 1.0.0
34 characters long description:
This is core plugin of hemmy theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,502 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 384 | 757 | 1,460 |
JavaScript | 1 | 5 | 29 | 31 |
CSS | 1 | 0 | 0 | 11 |
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.28 |
Average class complexity | 8.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 2 | 9.09% |
▷ Concrete classes | 20 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 113 | |
▷ Static methods | 12 | 10.62% |
▷ Public methods | 97 | 85.84% |
▷ Protected methods | 2 | 1.77% |
▷ Private methods | 14 | 12.39% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There are no PNG files in this plugin