Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼2.36ms] Passed 4 tests
A check of server-side resources used by Entity Viewer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 35.57 ▼6.24 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.30 ▼5.30 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.90 ▲3.36 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 100.37 ▲0.90 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.54 ▲1.19 |
Server storage [IO: ▲1.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Entity Viewer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.73 ▼0.89 | 1.60 ▼0.38 | 44.54 ▲4.61 |
Dashboard /wp-admin | 2,209 ▲21 | 4.82 ▼1.08 | 97.35 ▼4.81 | 40.53 ▼3.95 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.03 | 39.59 ▲1.91 | 37.06 ▲3.87 |
Add New Post /wp-admin/post-new.php | 6,640 ▲5,102 | 19.83 ▼3.34 | 876.84 ▲192.06 | 87.56 ▲26.84 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▼0.13 | 95.83 ▼15.02 | 42.06 ▼6.79 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- 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 | 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
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: show, display, field, metabox, meta...
entity-viewer/entity-viewer.php Passed 13 tests
This is the main PHP file of "Entity Viewer" version 0.5.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
Displays properties and custom fields of WordPress entities (posts, users, terms, comments) for debugging/development purposes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin11,890 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 10,358 |
JavaScript | 21 | 156 | 49 | 728 |
PHP | 6 | 142 | 98 | 549 |
Sass | 1 | 62 | 5 | 255 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 8 | 100.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 22 | 91.67% |
▷ Anonymous functions | 2 | 8.33% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.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