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.07MB] [CPU: ▼1.53ms] Passed 4 tests
A check of server-side resources used by Dev Theme
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.59 ▼0.87 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.25 ▼0.58 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.19 ▲3.56 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.31 ▼7.96 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.78 ▲3.31 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Dev Theme: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.34 ▼0.19 | 2.02 ▲0.38 | 40.82 ▼5.42 |
Dashboard /wp-admin | 2,207 ▲27 | 5.54 ▼0.13 | 86.86 ▼11.00 | 40.52 ▲1.34 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.02 ▲0.01 | 39.55 ▲3.42 | 34.43 ▲1.84 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.16 ▲1.95 | 678.42 ▼7.25 | 73.89 ▲15.79 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.20 ▼0.03 | 97.61 ▼7.43 | 44.77 ▲2.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: development, dev, staging, stage, theme
dev-theme/dev-theme.php Passed 13 tests
The entry point to "Dev Theme" version 1.2.1 is a PHP file that has certain tags in its header comment area
136 characters long description:
This plugin can duplicate your theme to a special development theme that you can edit and use, while real users using your current theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected269 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 72 | 33 | 269 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 58.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 50.00% |
▷ Protected methods | 14 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected