Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, no array or string given
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.73ms] Passed 4 tests
Analyzing server-side resources used by Custom post listing block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.47 ▼10.51 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.18 ▼1.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.75 ▲2.90 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.76 ▼13.78 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.77 ▲2.59 |
All Faculty /wp-admin/edit.php?post_type=faculty | 3.30 | 38.17 |
Add New /wp-admin/post-new.php?post_type=faculty | 3.43 | 52.06 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Custom post listing block
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,051 ▲290 | 21.86 ▲7.48 | 20.96 ▲18.82 | 38.63 ▼6.14 |
Dashboard /wp-admin | 2,258 ▲78 | 7.13 ▲1.47 | 102.17 ▲2.77 | 44.62 ▲0.32 |
Posts /wp-admin/edit.php | 2,184 ▲84 | 6.58 ▲4.57 | 59.35 ▲22.88 | 38.14 ▼0.16 |
Add New Post /wp-admin/post-new.php | 6,377 ▲4,851 | 26.75 ▲3.44 | 814.28 ▲182.41 | 41.51 ▼13.46 |
Media Library /wp-admin/upload.php | 1,482 ▲79 | 8.72 ▲4.35 | 119.67 ▲13.72 | 55.54 ▲8.50 |
All Faculty /wp-admin/edit.php?post_type=faculty | 1,153 | 6.55 | 52.43 | 29.01 |
Add New /wp-admin/post-new.php?post_type=faculty | 2,670 | 13.33 | 206.57 | 70.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in custom-post-listing-block/assets to your readme.txt
custom-post-listing-block/e-learning-faculty.php 92% from 13 tests
The principal PHP file in "Custom post listing block" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("custom-post-listing-block.php" instead of "e-learning-faculty.php")
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
There were no executable files found in this plugin2,621 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 193 | 271 | 2,432 |
PHP | 2 | 11 | 24 | 131 |
JavaScript | 1 | 4 | 31 | 58 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
No PNG images were found in this plugin