Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼307.03ms] Passed 4 tests
Server-side resources used by Easy Curated Lists
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 53.32 ▲1.36 |
Dashboard /wp-admin | 3.42 ▲0.01 | 31.53 ▼7.10 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.00 ▼1.12 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 93.34 ▼1,221.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.05 ▲1.54 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Curated Lists
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.99 ▲0.23 | 5.71 ▼0.83 | 2.37 ▼0.28 |
Dashboard /wp-admin | 2,888 ▲30 | 6.18 ▼0.05 | 120.71 ▼11.85 | 167.94 ▲5.42 |
Posts /wp-admin/edit.php | 2,657 ▼15 | 3.24 ▼0.00 | 64.20 ▼0.65 | 137.55 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,711 ▲50 | 21.04 ▲3.24 | 417.10 ▲28.37 | 159.57 ▲0.35 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.46 ▼0.07 | 142.68 ▼0.40 | 187.04 ▲4.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: knowledgebase, popular-posts, curated-list, recent-posts
easy-curated-lists/easy-curated-lists.php Passed 13 tests
The main file in "Easy Curated Lists" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
115 characters long description:
Display a curated list of posts, pages, products, or any post type using shortcode [easycuratedlists id='1,12,25'].
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin52 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 25 | 60 | 52 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin