Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.90ms] Passed 4 tests
An overview of server-side resources used by Code Meta Opengraph Tag Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 41.93 ▼5.61 |
Dashboard /wp-admin | 3.44 ▲0.13 | 56.28 ▲0.52 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.84 ▲6.90 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 105.38 ▲7.91 |
Media Library /wp-admin/upload.php | 3.37 ▲0.13 | 41.64 ▲1.79 |
Code Meta /wp-admin/admin.php?page=code-meta | 3.45 | 39.08 |
Upgrade /wp-admin/admin.php?page=code-meta-upgrade | 3.33 | 34.21 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
Activated_Plugin |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Code Meta Opengraph Tag Generator
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.42 ▲0.30 | 2.13 ▲0.29 | 47.76 ▲2.60 |
Dashboard /wp-admin | 2,217 ▲37 | 5.63 ▼0.02 | 99.42 ▲10.54 | 43.02 ▲5.86 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.98 ▼0.03 | 40.59 ▲1.19 | 37.37 ▼0.06 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.07 ▲0.19 | 703.34 ▼5.07 | 55.02 ▼2.22 |
Media Library /wp-admin/upload.php | 1,425 ▲22 | 4.19 ▲0.07 | 106.12 ▲0.38 | 44.99 ▼7.44 |
Code Meta /wp-admin/admin.php?page=code-meta | 891 | 1.99 | 23.87 | 37.62 |
Upgrade /wp-admin/admin.php?page=code-meta-upgrade | 872 | 1.99 | 26.97 | 31.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- Activated_Plugin
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: search engine rankings, seo, opengraph, meta tags
code-meta/code-meta.php Passed 13 tests
"Code Meta Opengraph Tag Generator" version 2.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
133 characters long description:
Code Meta tag generator will create the vital Opengraph meta tags required by search engines for proper SEO indexing of your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,179 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 141 | 152 | 1,123 |
CSS | 1 | 1 | 2 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 4 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 44 | |
▷ Static methods | 23 | 52.27% |
▷ Public methods | 35 | 79.55% |
▷ Protected methods | 1 | 2.27% |
▷ Private methods | 8 | 18.18% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin