Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.06ms] Passed 4 tests
A check of server-side resources used by Microformats 2
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 45.45 ▲41.94 | 8,647,667.54 ▲8,647,623.69 |
Dashboard /wp-admin | 3.39 ▼0.00 | 51.60 ▼15.77 |
Posts /wp-admin/edit.php | 3.50 ▲0.10 | 54.13 ▲2.81 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.04 | 101.24 ▼13.83 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 41.66 ▲6.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Microformats 2
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.19 ▼0.19 | 1.85 ▼0.06 | 39.81 ▼4.27 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▼0.04 | 85.66 ▼15.38 | 41.59 ▼7.15 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 40.71 ▲0.57 | 38.57 ▲3.91 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.21 ▲0.13 | 645.27 ▼64.89 | 51.24 ▼7.59 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.08 ▼0.15 | 114.21 ▲12.44 | 48.29 ▲6.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-uf2/wp-uf2.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/wp-uf2/includes/genesis.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: microformats, indieweb
wp-uf2/wp-uf2.php Passed 13 tests
Analyzing the main PHP file in "Microformats 2" version 1.1.0
67 characters long description:
Adds Microformats 2 support to your WordPress installation or theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin214 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 45 | 126 | 214 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 14 | 77.78% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin