Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.57ms] Passed 4 tests
A check of server-side resources used by Templets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.13 ▼2.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 53.31 ▲3.37 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.10 ▲1.58 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.40 ▼6.00 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.81 ▲0.33 |
Add Pattern /wp-admin/post-new.php?post_type=templet_pattern | 5.96 | 82.72 |
Templets /wp-admin/edit.php?post_type=templet_pattern | 3.30 | 36.21 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Templets
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲53 | 14.41 ▼0.24 | 1.72 ▼0.25 | 42.83 ▼1.37 |
Dashboard /wp-admin | 2,233 ▲48 | 4.85 ▼0.97 | 99.77 ▼23.99 | 39.63 ▼4.67 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.05 ▲0.03 | 37.70 ▼0.82 | 34.68 ▼0.90 |
Add New Post /wp-admin/post-new.php | 1,553 ▲34 | 23.51 ▲0.32 | 679.54 ▼22.25 | 57.74 ▲4.06 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.21 ▼0.00 | 107.28 ▲1.88 | 48.06 ▲4.61 |
Add Pattern /wp-admin/post-new.php?post_type=templet_pattern | 6,181 | 21.70 | 919.69 | 29.40 |
Templets /wp-admin/edit.php?post_type=templet_pattern | 1,080 | 2.01 | 34.66 | 30.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/templets/templets.php:17
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: block patterns, patterns
templets/templets.php Passed 13 tests
The main file in "Templets" v. 0.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
44 characters long description:
List and create patterns as custom post type
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin58 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 16 | 58 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin