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.01MB] [CPU: ▼2.86ms] Passed 4 tests
An overview of server-side resources used by Animate In View
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.97 ▼5.68 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.47 ▼2.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.92 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.44 ▼2.67 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.70 ▼0.09 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Animate In View
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.81 ▼0.57 | 1.68 ▼0.11 | 44.12 ▲0.66 |
Dashboard /wp-admin | 2,203 ▲12 | 5.83 ▼0.08 | 104.11 ▼2.08 | 40.31 ▼4.88 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.02 | 35.91 ▼2.06 | 32.35 ▼4.81 |
Add New Post /wp-admin/post-new.php | 6,417 ▲4,895 | 28.51 ▲5.22 | 912.27 ▲248.15 | 62.95 ▼0.28 |
Media Library /wp-admin/upload.php | 1,382 ▼0 | 4.24 ▲0.09 | 96.08 ▲1.10 | 40.24 ▼1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/animate-in-view/animate-in-view.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: intersection, slide-in, screen, fade, block...
animate-in-view/animate-in-view.php Passed 13 tests
The entry point to "Animate In View" version 1.2.2 is a PHP file that has certain tags in its header comment area
94 characters long description:
This block will animate in as soon as it enters the viewport of the browser window. That's it.
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
There were no executable files found in this plugin651 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
TypeScript | 5 | 9 | 13 | 279 |
JSON | 5 | 0 | 0 | 167 |
JavaScript | 4 | 3 | 10 | 124 |
PHP | 2 | 2 | 14 | 42 |
CSS | 4 | 0 | 1 | 27 |
Markdown | 1 | 5 | 0 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin