Benchmarks
Plugin footprint 83% from 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.03MB] [CPU: ▼3.11ms] Passed 4 tests
Server-side resources used by MarkItUp!
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.03 ▼5.32 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.10 ▼2.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.02 ▼3.15 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.38 ▼1.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.30 ▼1.00 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MarkItUp!
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.21 | 1.77 ▲0.20 | 40.43 ▼2.70 |
Dashboard /wp-admin | 2,200 ▲12 | 5.86 ▲0.02 | 102.98 ▼2.04 | 41.60 ▼0.77 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.04 | 37.39 ▼6.44 | 32.11 ▼8.89 |
Add New Post /wp-admin/post-new.php | 1,538 ▲5 | 23.32 ▲0.07 | 661.32 ▼9.42 | 47.51 ▼3.76 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.05 | 95.24 ▼17.49 | 41.11 ▼8.84 |
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
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/markitup/markitup.php:44
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: editor, markdown
markitup/markitup.php 92% from 13 tests
The entry point to "MarkItUp!" version 1.3a... is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "1.3a...")
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 plugin724 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 32 | 71 | 569 |
JavaScript | 3 | 23 | 17 | 132 |
CSS | 1 | 0 | 0 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 24.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 7.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 28 | |
▷ Global constants | 28 | 100.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
There were not PNG files found in your plugin