Executive summary
twitter/finatra falls short of our standard for production because 83 files are no longer known to anyone active in the project and the project keeps no record of its design decisions. It scores 61 out of 100 and is rated Adequate, and all five of its critical findings are security problems.
Maturity, at 55, is the weakest lens and counts most in the score. The best first step is recording design decisions, worth about 6 points. Having someone learn and document the 83 files no active contributor knows comes next, also worth about 6. Raising Maturity to 70 would lift the score to about 66.
Four pipeline tools are referenced by a changeable name, so the build pipeline can be tampered with. One password or key is open to anyone who can read the repository. Pinning each tool to an exact version and replacing the exposed password or key would close both risks.
The product code is 21,757 lines, about €63,000 to rebuild.
If Maturity rose from 55 to 70, the lowest score rated Strong, the score would rise from 61 to about 66.
New since the last survey: 1 finding
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €63,000 · Estimate
| Cost to rebuild | €21,000 to €100,000, for 346 to 1,098 hours of work, about 0.4 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 61. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Medium: 21,757 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 finatra.http.internal.routing | 2 finatra.mysql.client | 3 inject | 4 inject.requestscope.FinagleRequestScopeFilter | 5 finatra.http.marshalling.MessageBodyManager | 6 finatra.jackson.streaming | 7 finatra.utils | 8 inject.app | 9 inject.modules | 10 inject.thrift | 11 finatra.http.marshalling | 12 finatra.modules | 13 finatra.mustache.marshalling | 14 finatra.mustache.modules | 15 finatra.mysql.client.modules | 16 inject.server | 17 inject.thrift.modules | 18 finatra.http.marshalling.WriterResponse | 19 finatra.http.marshalling.modules | 20 finatra.mustache.marshalling.MustacheFactoryBuilder | 21 finatra.http.exceptions | 22 finatra.http.filters | 23 finatra.http.routing | 24 finatra.http.streaming | 25 finatra.httpclient | 26 finatra.thrift.Controller | 27 finatra.http.jsonpatch | 28 finatra.http.modules | 29 finatra.http.request | 30 finatra.http.response | 31 finatra.httpclient.modules | 32 finatra.thrift.modules | 33 finatra.thrift.routing | 34 finatra.http | 35 finatra.http.internal.exceptions | 36 finatra.http.internal.exceptions.json | 37 finatra.http.request.MediaRange | 38 finatra.http.response.EnrichedResponse | 39 finatra.thrift | 40 finatra.thrift.internal.exceptions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 finatra.http.internal.routing | ||||||||||||||||||||||||||||||||||||||||
| 2 finatra.mysql.client | ||||||||||||||||||||||||||||||||||||||||
| 3 inject | ||||||||||||||||||||||||||||||||||||||||
| 4 inject.requestscope.FinagleRequestScopeFilter | ||||||||||||||||||||||||||||||||||||||||
| 5 finatra.http.marshalling.MessageBodyManager | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 6 finatra.jackson.streaming | 1 | |||||||||||||||||||||||||||||||||||||||
| 7 finatra.utils | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 inject.app | 2 | |||||||||||||||||||||||||||||||||||||||
| 9 inject.modules | 6 | |||||||||||||||||||||||||||||||||||||||
| 10 inject.thrift | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 finatra.http.marshalling | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 finatra.modules | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 13 finatra.mustache.marshalling | 2 | |||||||||||||||||||||||||||||||||||||||
| 14 finatra.mustache.modules | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 finatra.mysql.client.modules | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 16 inject.server | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 17 inject.thrift.modules | 10 | 3 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 18 finatra.http.marshalling.WriterResponse | 2 | |||||||||||||||||||||||||||||||||||||||
| 19 finatra.http.marshalling.modules | 3 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 20 finatra.mustache.marshalling.MustacheFactoryBuilder | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 finatra.http.exceptions | 3 | |||||||||||||||||||||||||||||||||||||||
| 22 finatra.http.filters | 2 | |||||||||||||||||||||||||||||||||||||||
| 23 finatra.http.routing | 3 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 24 finatra.http.streaming | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 finatra.httpclient | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 finatra.thrift.Controller | 2 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 finatra.http.jsonpatch | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 finatra.http.modules | 6 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 29 finatra.http.request | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 finatra.http.response | 1 | 1 | 2 | 4 | 2 | |||||||||||||||||||||||||||||||||||
| 31 finatra.httpclient.modules | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 32 finatra.thrift.modules | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 finatra.thrift.routing | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 finatra.http | 1 | 4 | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 35 finatra.http.internal.exceptions | 7 | 4 | 7 | |||||||||||||||||||||||||||||||||||||
| 36 finatra.http.internal.exceptions.json | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 finatra.http.request.MediaRange | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 38 finatra.http.response.EnrichedResponse | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 finatra.thrift | 1 | 2 | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||
| 40 finatra.thrift.internal.exceptions | 1 | 1 |
5→3 finatra.http.marshalling.MessageBodyManager uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.marshalling.MessageBodyManager uses a type in inject.
- The types involved
com.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.inject.Injector
- Direction
- finatra.http.marshalling.MessageBodyManager uses inject, so a change to inject can break finatra.http.marshalling.MessageBodyManager, while a change to finatra.http.marshalling.MessageBodyManager can't break inject.
- Position
- Below the diagonal: finatra.http.marshalling.MessageBodyManager uses a module listed above it, which is the healthy direction.
5→11 finatra.http.marshalling.MessageBodyManager uses finatra.http.marshalling part of a loop✕
- Connections
- 5 pairs of types, where a type in finatra.http.marshalling.MessageBodyManager uses a type in finatra.http.marshalling.
- The types involved
com.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.finatra.http.marshalling.DefaultMessageBodyReadercom.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.finatra.http.marshalling.DefaultMessageBodyWritercom.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.finatra.http.marshalling.MessageBodyManagercom.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.finatra.http.marshalling.MessageBodyReadercom.twitter.finatra.http.marshalling.MessageBodyManager.Builder→com.twitter.finatra.http.marshalling.MessageBodyWriter
- Direction
- finatra.http.marshalling.MessageBodyManager uses finatra.http.marshalling, so a change to finatra.http.marshalling can break finatra.http.marshalling.MessageBodyManager, while a change to finatra.http.marshalling.MessageBodyManager can't break finatra.http.marshalling.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6→3 finatra.jackson.streaming uses inject✕
- Connections
- 1 pair of types, where a type in finatra.jackson.streaming uses a type in inject.
- The types involved
com.twitter.finatra.jackson.streaming.ByteBufferUtils→com.twitter.inject.Logging
- Direction
- finatra.jackson.streaming uses inject, so a change to inject can break finatra.jackson.streaming, while a change to finatra.jackson.streaming can't break inject.
- Position
- Below the diagonal: finatra.jackson.streaming uses a module listed above it, which is the healthy direction.
7→3 finatra.utils uses inject✕
- Connections
- 1 pair of types, where a type in finatra.utils uses a type in inject.
- The types involved
com.twitter.finatra.utils.DeadlineValues→com.twitter.inject.Logging
- Direction
- finatra.utils uses inject, so a change to inject can break finatra.utils, while a change to finatra.utils can't break inject.
- Position
- Below the diagonal: finatra.utils uses a module listed above it, which is the healthy direction.
8→3 inject.app uses inject✕
- Connections
- 2 pairs of types, where a type in inject.app uses a type in inject.
- The types involved
com.twitter.inject.app.App→com.twitter.inject.Injectorcom.twitter.inject.app.App→com.twitter.inject.Logging
- Direction
- inject.app uses inject, so a change to inject can break inject.app, while a change to inject.app can't break inject.
- Position
- Below the diagonal: inject.app uses a module listed above it, which is the healthy direction.
9→3 inject.modules uses inject✕
- Connections
- 6 pairs of types, where a type in inject.modules uses a type in inject.
- The types involved
com.twitter.inject.modules.StackClientModuleTrait→com.twitter.inject.Injectorcom.twitter.inject.modules.StackClientModuleTrait→com.twitter.inject.TwitterModulecom.twitter.inject.modules.StackTransformerModule→com.twitter.inject.StackTransformercom.twitter.inject.modules.StackTransformerModule→com.twitter.inject.TwitterModulecom.twitter.inject.modules.StatsReceiverModule→com.twitter.inject.TwitterModulecom.twitter.inject.modules.TracerModule→com.twitter.inject.TwitterModule
- Direction
- inject.modules uses inject, so a change to inject can break inject.modules, while a change to inject.modules can't break inject.
- Position
- Below the diagonal: inject.modules uses a module listed above it, which is the healthy direction.
10→4 inject.thrift uses inject.requestscope.FinagleRequestScopeFilter✕
- Connections
- 1 pair of types, where a type in inject.thrift uses a type in inject.requestscope.FinagleRequestScopeFilter.
- The types involved
com.twitter.inject.thrift.ThriftMethodBuilder→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnostic
- Direction
- inject.thrift uses inject.requestscope.FinagleRequestScopeFilter, so a change to inject.requestscope.FinagleRequestScopeFilter can break inject.thrift, while a change to inject.thrift can't break inject.requestscope.FinagleRequestScopeFilter.
- Position
- Below the diagonal: inject.thrift uses a module listed above it, which is the healthy direction.
11→3 finatra.http.marshalling uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.marshalling uses a type in inject.
- The types involved
com.twitter.finatra.http.marshalling.MessageBodyManager→com.twitter.inject.Injector
- Direction
- finatra.http.marshalling uses inject, so a change to inject can break finatra.http.marshalling, while a change to finatra.http.marshalling can't break inject.
- Position
- Below the diagonal: finatra.http.marshalling uses a module listed above it, which is the healthy direction.
11→5 finatra.http.marshalling uses finatra.http.marshalling.MessageBodyManager✕
- Connections
- 1 pair of types, where a type in finatra.http.marshalling uses a type in finatra.http.marshalling.MessageBodyManager.
- The types involved
com.twitter.finatra.http.marshalling.MessageBodyManager→com.twitter.finatra.http.marshalling.MessageBodyManager.Builder
- Direction
- finatra.http.marshalling uses finatra.http.marshalling.MessageBodyManager, so a change to finatra.http.marshalling.MessageBodyManager can break finatra.http.marshalling, while a change to finatra.http.marshalling can't break finatra.http.marshalling.MessageBodyManager.
- Position
- Below the diagonal: finatra.http.marshalling uses a module listed above it, which is the healthy direction.
12→2 finatra.modules uses finatra.mysql.client✕
- Connections
- 1 pair of types, where a type in finatra.modules uses a type in finatra.mysql.client.
- The types involved
com.twitter.finatra.modules.CredentialsModule→com.twitter.finatra.mysql.client.Credentials
- Direction
- finatra.modules uses finatra.mysql.client, so a change to finatra.mysql.client can break finatra.modules, while a change to finatra.modules can't break finatra.mysql.client.
- Position
- Below the diagonal: finatra.modules uses a module listed above it, which is the healthy direction.
12→3 finatra.modules uses inject✕
- Connections
- 2 pairs of types, where a type in finatra.modules uses a type in inject.
- The types involved
com.twitter.finatra.modules.CredentialsModule→com.twitter.inject.TwitterModulecom.twitter.finatra.modules.FileResolverModule→com.twitter.inject.TwitterModule
- Direction
- finatra.modules uses inject, so a change to inject can break finatra.modules, while a change to finatra.modules can't break inject.
- Position
- Below the diagonal: finatra.modules uses a module listed above it, which is the healthy direction.
12→7 finatra.modules uses finatra.utils✕
- Connections
- 1 pair of types, where a type in finatra.modules uses a type in finatra.utils.
- The types involved
com.twitter.finatra.modules.FileResolverModule→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.modules uses finatra.utils, so a change to finatra.utils can break finatra.modules, while a change to finatra.modules can't break finatra.utils.
- Position
- Below the diagonal: finatra.modules uses a module listed above it, which is the healthy direction.
13→7 finatra.mustache.marshalling uses finatra.utils✕
- Connections
- 2 pairs of types, where a type in finatra.mustache.marshalling uses a type in finatra.utils.
- The types involved
com.twitter.finatra.mustache.marshalling.LocalFilesystemMustacheFactory→com.twitter.finatra.utils.FileResolvercom.twitter.finatra.mustache.marshalling.MustacheFactoryBuilder→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.mustache.marshalling uses finatra.utils, so a change to finatra.utils can break finatra.mustache.marshalling, while a change to finatra.mustache.marshalling can't break finatra.utils.
- Position
- Below the diagonal: finatra.mustache.marshalling uses a module listed above it, which is the healthy direction.
14→3 finatra.mustache.modules uses inject✕
- Connections
- 2 pairs of types, where a type in finatra.mustache.modules uses a type in inject.
- The types involved
com.twitter.finatra.mustache.modules.MustacheFactoryModule→com.twitter.inject.TwitterModulecom.twitter.finatra.mustache.modules.MustacheFlagsModule→com.twitter.inject.TwitterModule
- Direction
- finatra.mustache.modules uses inject, so a change to inject can break finatra.mustache.modules, while a change to finatra.mustache.modules can't break inject.
- Position
- Below the diagonal: finatra.mustache.modules uses a module listed above it, which is the healthy direction.
14→7 finatra.mustache.modules uses finatra.utils✕
- Connections
- 1 pair of types, where a type in finatra.mustache.modules uses a type in finatra.utils.
- The types involved
com.twitter.finatra.mustache.modules.MustacheFactoryModule→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.mustache.modules uses finatra.utils, so a change to finatra.utils can break finatra.mustache.modules, while a change to finatra.mustache.modules can't break finatra.utils.
- Position
- Below the diagonal: finatra.mustache.modules uses a module listed above it, which is the healthy direction.
15→2 finatra.mysql.client.modules uses finatra.mysql.client✕
- Connections
- 2 pairs of types, where a type in finatra.mysql.client.modules uses a type in finatra.mysql.client.
- The types involved
com.twitter.finatra.mysql.client.modules.MysqlClientModuleTrait→com.twitter.finatra.mysql.client.Configcom.twitter.finatra.mysql.client.modules.MysqlClientModuleTrait→com.twitter.finatra.mysql.client.MysqlClient
- Direction
- finatra.mysql.client.modules uses finatra.mysql.client, so a change to finatra.mysql.client can break finatra.mysql.client.modules, while a change to finatra.mysql.client.modules can't break finatra.mysql.client.
- Position
- Below the diagonal: finatra.mysql.client.modules uses a module listed above it, which is the healthy direction.
15→3 finatra.mysql.client.modules uses inject✕
- Connections
- 1 pair of types, where a type in finatra.mysql.client.modules uses a type in inject.
- The types involved
com.twitter.finatra.mysql.client.modules.MysqlClientModuleTrait→com.twitter.inject.Injector
- Direction
- finatra.mysql.client.modules uses inject, so a change to inject can break finatra.mysql.client.modules, while a change to finatra.mysql.client.modules can't break inject.
- Position
- Below the diagonal: finatra.mysql.client.modules uses a module listed above it, which is the healthy direction.
15→9 finatra.mysql.client.modules uses inject.modules✕
- Connections
- 1 pair of types, where a type in finatra.mysql.client.modules uses a type in inject.modules.
- The types involved
com.twitter.finatra.mysql.client.modules.MysqlClientModuleTrait→com.twitter.inject.modules.StackClientModuleTrait
- Direction
- finatra.mysql.client.modules uses inject.modules, so a change to inject.modules can break finatra.mysql.client.modules, while a change to finatra.mysql.client.modules can't break inject.modules.
- Position
- Below the diagonal: finatra.mysql.client.modules uses a module listed above it, which is the healthy direction.
16→3 inject.server uses inject✕
- Connections
- 1 pair of types, where a type in inject.server uses a type in inject.
- The types involved
com.twitter.inject.server.Awaiter→com.twitter.inject.Logging
- Direction
- inject.server uses inject, so a change to inject can break inject.server, while a change to inject.server can't break inject.
- Position
- Below the diagonal: inject.server uses a module listed above it, which is the healthy direction.
16→8 inject.server uses inject.app✕
- Connections
- 2 pairs of types, where a type in inject.server uses a type in inject.app.
- The types involved
com.twitter.inject.server.AbstractTwitterServer→com.twitter.inject.app.AbstractAppcom.twitter.inject.server.TwitterServer→com.twitter.inject.app.App
- Direction
- inject.server uses inject.app, so a change to inject.app can break inject.server, while a change to inject.server can't break inject.app.
- Position
- Below the diagonal: inject.server uses a module listed above it, which is the healthy direction.
17→3 inject.thrift.modules uses inject✕
- Connections
- 10 pairs of types, where a type in inject.thrift.modules uses a type in inject.
- The types involved
com.twitter.inject.thrift.modules.AndThenServiceModule→com.twitter.inject.TwitterModulecom.twitter.inject.thrift.modules.DarkTrafficFilterModuleTrait→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.JavaDarkTrafficFilterModule→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.ReqRepDarkTrafficFilterModule→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.ThriftClientModule→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.ThriftClientModule→com.twitter.inject.TwitterModulecom.twitter.inject.thrift.modules.ThriftClientModuleTrait→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.ThriftClientModuleTrait→com.twitter.inject.Loggingcom.twitter.inject.thrift.modules.ThriftMethodBuilderClientModule→com.twitter.inject.Injectorcom.twitter.inject.thrift.modules.ThriftMethodBuilderClientModule→com.twitter.inject.TwitterModule
- Direction
- inject.thrift.modules uses inject, so a change to inject can break inject.thrift.modules, while a change to inject.thrift.modules can't break inject.
- Position
- Below the diagonal: inject.thrift.modules uses a module listed above it, which is the healthy direction.
17→4 inject.thrift.modules uses inject.requestscope.FinagleRequestScopeFilter✕
- Connections
- 3 pairs of types, where a type in inject.thrift.modules uses a type in inject.requestscope.FinagleRequestScopeFilter.
- The types involved
com.twitter.inject.thrift.modules.DarkTrafficFilterModuleTrait→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnosticcom.twitter.inject.thrift.modules.JavaDarkTrafficFilterModule→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnosticcom.twitter.inject.thrift.modules.ReqRepDarkTrafficFilterModule→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnostic
- Direction
- inject.thrift.modules uses inject.requestscope.FinagleRequestScopeFilter, so a change to inject.requestscope.FinagleRequestScopeFilter can break inject.thrift.modules, while a change to inject.thrift.modules can't break inject.requestscope.FinagleRequestScopeFilter.
- Position
- Below the diagonal: inject.thrift.modules uses a module listed above it, which is the healthy direction.
17→9 inject.thrift.modules uses inject.modules✕
- Connections
- 1 pair of types, where a type in inject.thrift.modules uses a type in inject.modules.
- The types involved
com.twitter.inject.thrift.modules.ThriftClientModuleTrait→com.twitter.inject.modules.StackClientModuleTrait
- Direction
- inject.thrift.modules uses inject.modules, so a change to inject.modules can break inject.thrift.modules, while a change to inject.thrift.modules can't break inject.modules.
- Position
- Below the diagonal: inject.thrift.modules uses a module listed above it, which is the healthy direction.
17→10 inject.thrift.modules uses inject.thrift✕
- Connections
- 1 pair of types, where a type in inject.thrift.modules uses a type in inject.thrift.
- The types involved
com.twitter.inject.thrift.modules.ThriftMethodBuilderClientModule→com.twitter.inject.thrift.ThriftMethodBuilderFactory
- Direction
- inject.thrift.modules uses inject.thrift, so a change to inject.thrift can break inject.thrift.modules, while a change to inject.thrift.modules can't break inject.thrift.
- Position
- Below the diagonal: inject.thrift.modules uses a module listed above it, which is the healthy direction.
18→11 finatra.http.marshalling.WriterResponse uses finatra.http.marshalling✕
- Connections
- 2 pairs of types, where a type in finatra.http.marshalling.WriterResponse uses a type in finatra.http.marshalling.
- The types involved
com.twitter.finatra.http.marshalling.WriterResponse.EmptyResponse→com.twitter.finatra.http.marshalling.WriterResponsecom.twitter.finatra.http.marshalling.WriterResponse.Response→com.twitter.finatra.http.marshalling.WriterResponse
- Direction
- finatra.http.marshalling.WriterResponse uses finatra.http.marshalling, so a change to finatra.http.marshalling can break finatra.http.marshalling.WriterResponse, while a change to finatra.http.marshalling.WriterResponse can't break finatra.http.marshalling.
- Position
- Below the diagonal: finatra.http.marshalling.WriterResponse uses a module listed above it, which is the healthy direction.
19→3 finatra.http.marshalling.modules uses inject✕
- Connections
- 3 pairs of types, where a type in finatra.http.marshalling.modules uses a type in inject.
- The types involved
com.twitter.finatra.http.marshalling.modules.MessageBodyFlagsModule→com.twitter.inject.TwitterModulecom.twitter.finatra.http.marshalling.modules.MessageBodyManagerModule→com.twitter.inject.Injectorcom.twitter.finatra.http.marshalling.modules.MessageBodyManagerModule→com.twitter.inject.TwitterModule
- Direction
- finatra.http.marshalling.modules uses inject, so a change to inject can break finatra.http.marshalling.modules, while a change to finatra.http.marshalling.modules can't break inject.
- Position
- Below the diagonal: finatra.http.marshalling.modules uses a module listed above it, which is the healthy direction.
19→7 finatra.http.marshalling.modules uses finatra.utils✕
- Connections
- 1 pair of types, where a type in finatra.http.marshalling.modules uses a type in finatra.utils.
- The types involved
com.twitter.finatra.http.marshalling.modules.MessageBodyManagerModule→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.http.marshalling.modules uses finatra.utils, so a change to finatra.utils can break finatra.http.marshalling.modules, while a change to finatra.http.marshalling.modules can't break finatra.utils.
- Position
- Below the diagonal: finatra.http.marshalling.modules uses a module listed above it, which is the healthy direction.
19→11 finatra.http.marshalling.modules uses finatra.http.marshalling✕
- Connections
- 2 pairs of types, where a type in finatra.http.marshalling.modules uses a type in finatra.http.marshalling.
- The types involved
com.twitter.finatra.http.marshalling.modules.MessageBodyManagerModule→com.twitter.finatra.http.marshalling.DefaultMessageBodyReadercom.twitter.finatra.http.marshalling.modules.MessageBodyManagerModule→com.twitter.finatra.http.marshalling.DefaultMessageBodyWriter
- Direction
- finatra.http.marshalling.modules uses finatra.http.marshalling, so a change to finatra.http.marshalling can break finatra.http.marshalling.modules, while a change to finatra.http.marshalling.modules can't break finatra.http.marshalling.
- Position
- Below the diagonal: finatra.http.marshalling.modules uses a module listed above it, which is the healthy direction.
20→7 finatra.mustache.marshalling.MustacheFactoryBuilder uses finatra.utils✕
- Connections
- 1 pair of types, where a type in finatra.mustache.marshalling.MustacheFactoryBuilder uses a type in finatra.utils.
- The types involved
com.twitter.finatra.mustache.marshalling.MustacheFactoryBuilder.LocalFilesystemMustacheFactoryImpl→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.mustache.marshalling.MustacheFactoryBuilder uses finatra.utils, so a change to finatra.utils can break finatra.mustache.marshalling.MustacheFactoryBuilder, while a change to finatra.mustache.marshalling.MustacheFactoryBuilder can't break finatra.utils.
- Position
- Below the diagonal: finatra.mustache.marshalling.MustacheFactoryBuilder uses a module listed above it, which is the healthy direction.
20→13 finatra.mustache.marshalling.MustacheFactoryBuilder uses finatra.mustache.marshalling✕
- Connections
- 1 pair of types, where a type in finatra.mustache.marshalling.MustacheFactoryBuilder uses a type in finatra.mustache.marshalling.
- The types involved
com.twitter.finatra.mustache.marshalling.MustacheFactoryBuilder.LocalFilesystemMustacheFactoryImpl→com.twitter.finatra.mustache.marshalling.LocalFilesystemMustacheFactory
- Direction
- finatra.mustache.marshalling.MustacheFactoryBuilder uses finatra.mustache.marshalling, so a change to finatra.mustache.marshalling can break finatra.mustache.marshalling.MustacheFactoryBuilder, while a change to finatra.mustache.marshalling.MustacheFactoryBuilder can't break finatra.mustache.marshalling.
- Position
- Below the diagonal: finatra.mustache.marshalling.MustacheFactoryBuilder uses a module listed above it, which is the healthy direction.
21→18 finatra.http.exceptions uses finatra.http.marshalling.WriterResponse✕
- Connections
- 3 pairs of types, where a type in finatra.http.exceptions uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.exceptions.ExceptionManager→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.exceptions.ExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.exceptions.HttpResponseException→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.exceptions uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.exceptions, while a change to finatra.http.exceptions can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.exceptions uses a module listed above it, which is the healthy direction.
22→18 finatra.http.filters uses finatra.http.marshalling.WriterResponse✕
- Connections
- 2 pairs of types, where a type in finatra.http.filters uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.filters.ExceptionMappingFilter→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.filters.HttpNackFilter→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.filters uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.filters, while a change to finatra.http.filters can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.filters uses a module listed above it, which is the healthy direction.
23→1 finatra.http.routing uses finatra.http.internal.routing✕
- Connections
- 3 pairs of types, where a type in finatra.http.routing uses a type in finatra.http.internal.routing.
- The types involved
com.twitter.finatra.http.routing.AdminHttpRouter→com.twitter.finatra.http.internal.routing.Routecom.twitter.finatra.http.routing.Registrar→com.twitter.finatra.http.internal.routing.Routecom.twitter.finatra.http.routing.RoutesByType→com.twitter.finatra.http.internal.routing.Route
- Direction
- finatra.http.routing uses finatra.http.internal.routing, so a change to finatra.http.internal.routing can break finatra.http.routing, while a change to finatra.http.routing can't break finatra.http.internal.routing.
- Position
- Below the diagonal: finatra.http.routing uses a module listed above it, which is the healthy direction.
23→3 finatra.http.routing uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.routing uses a type in inject.
- The types involved
com.twitter.finatra.http.routing.AdminHttpRouter→com.twitter.inject.Logging
- Direction
- finatra.http.routing uses inject, so a change to inject can break finatra.http.routing, while a change to finatra.http.routing can't break inject.
- Position
- Below the diagonal: finatra.http.routing uses a module listed above it, which is the healthy direction.
23→18 finatra.http.routing uses finatra.http.marshalling.WriterResponse✕
- Connections
- 2 pairs of types, where a type in finatra.http.routing uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.routing.HttpWarmup→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.routing.Services→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.routing uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.routing, while a change to finatra.http.routing can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.routing uses a module listed above it, which is the healthy direction.
24→6 finatra.http.streaming uses finatra.jackson.streaming✕
- Connections
- 1 pair of types, where a type in finatra.http.streaming uses a type in finatra.jackson.streaming.
- The types involved
com.twitter.finatra.http.streaming.StreamingRequest→com.twitter.finatra.jackson.streaming.JsonStreamParser
- Direction
- finatra.http.streaming uses finatra.jackson.streaming, so a change to finatra.jackson.streaming can break finatra.http.streaming, while a change to finatra.http.streaming can't break finatra.jackson.streaming.
- Position
- Below the diagonal: finatra.http.streaming uses a module listed above it, which is the healthy direction.
24→18 finatra.http.streaming uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http.streaming uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.streaming.StreamingResponse→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.streaming uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.streaming, while a change to finatra.http.streaming can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.streaming uses a module listed above it, which is the healthy direction.
25→3 finatra.httpclient uses inject✕
- Connections
- 1 pair of types, where a type in finatra.httpclient uses a type in inject.
- The types involved
com.twitter.finatra.httpclient.HttpClient→com.twitter.inject.Logging
- Direction
- finatra.httpclient uses inject, so a change to inject can break finatra.httpclient, while a change to finatra.httpclient can't break inject.
- Position
- Below the diagonal: finatra.httpclient uses a module listed above it, which is the healthy direction.
25→18 finatra.httpclient uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.httpclient uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.httpclient.HttpClient→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.httpclient uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.httpclient, while a change to finatra.httpclient can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.httpclient uses a module listed above it, which is the healthy direction.
26→2 finatra.thrift.Controller uses finatra.mysql.client✕
- Connections
- 2 pairs of types, where a type in finatra.thrift.Controller uses a type in finatra.mysql.client.
- The types involved
com.twitter.finatra.thrift.Controller.ControllerConfig→com.twitter.finatra.mysql.client.Configcom.twitter.finatra.thrift.Controller.LegacyConfig→com.twitter.finatra.mysql.client.Config
- Direction
- finatra.thrift.Controller uses finatra.mysql.client, so a change to finatra.mysql.client can break finatra.thrift.Controller, while a change to finatra.thrift.Controller can't break finatra.mysql.client.
- Position
- Below the diagonal: finatra.thrift.Controller uses a module listed above it, which is the healthy direction.
26→4 finatra.thrift.Controller uses inject.requestscope.FinagleRequestScopeFilter✕
- Connections
- 2 pairs of types, where a type in finatra.thrift.Controller uses a type in inject.requestscope.FinagleRequestScopeFilter.
- The types involved
com.twitter.finatra.thrift.Controller.ConfiguredMethod→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnosticcom.twitter.finatra.thrift.Controller.MethodDSL→com.twitter.inject.requestscope.FinagleRequestScopeFilter.TypeAgnostic
- Direction
- finatra.thrift.Controller uses inject.requestscope.FinagleRequestScopeFilter, so a change to inject.requestscope.FinagleRequestScopeFilter can break finatra.thrift.Controller, while a change to finatra.thrift.Controller can't break inject.requestscope.FinagleRequestScopeFilter.
- Position
- Below the diagonal: finatra.thrift.Controller uses a module listed above it, which is the healthy direction.
26→18 finatra.thrift.Controller uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.thrift.Controller uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.thrift.Controller.MethodDSL→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.thrift.Controller uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.thrift.Controller, while a change to finatra.thrift.Controller can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.thrift.Controller uses a module listed above it, which is the healthy direction.
27→11 finatra.http.jsonpatch uses finatra.http.marshalling✕
- Connections
- 1 pair of types, where a type in finatra.http.jsonpatch uses a type in finatra.http.marshalling.
- The types involved
com.twitter.finatra.http.jsonpatch.JsonPatchMessageBodyReader→com.twitter.finatra.http.marshalling.MessageBodyReader
- Direction
- finatra.http.jsonpatch uses finatra.http.marshalling, so a change to finatra.http.marshalling can break finatra.http.jsonpatch, while a change to finatra.http.jsonpatch can't break finatra.http.marshalling.
- Position
- Below the diagonal: finatra.http.jsonpatch uses a module listed above it, which is the healthy direction.
27→18 finatra.http.jsonpatch uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http.jsonpatch uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.jsonpatch.JsonPatchExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.jsonpatch uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.jsonpatch, while a change to finatra.http.jsonpatch can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.jsonpatch uses a module listed above it, which is the healthy direction.
27→21 finatra.http.jsonpatch uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.http.jsonpatch uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.http.jsonpatch.JsonPatchExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMapper
- Direction
- finatra.http.jsonpatch uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.http.jsonpatch, while a change to finatra.http.jsonpatch can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.http.jsonpatch uses a module listed above it, which is the healthy direction.
28→3 finatra.http.modules uses inject✕
- Connections
- 6 pairs of types, where a type in finatra.http.modules uses a type in inject.
- The types involved
com.twitter.finatra.http.modules.AccessLogModule→com.twitter.inject.TwitterModulecom.twitter.finatra.http.modules.ExceptionManagerModule→com.twitter.inject.Injectorcom.twitter.finatra.http.modules.ExceptionManagerModule→com.twitter.inject.TwitterModulecom.twitter.finatra.http.modules.HttpResponseClassifierModule→com.twitter.inject.TwitterModulecom.twitter.finatra.http.modules.MustacheModule→com.twitter.inject.Injectorcom.twitter.finatra.http.modules.MustacheModule→com.twitter.inject.TwitterModule
- Direction
- finatra.http.modules uses inject, so a change to inject can break finatra.http.modules, while a change to finatra.http.modules can't break inject.
- Position
- Below the diagonal: finatra.http.modules uses a module listed above it, which is the healthy direction.
28→18 finatra.http.modules uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http.modules uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.modules.HttpResponseExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.modules uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.modules, while a change to finatra.http.modules can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.modules uses a module listed above it, which is the healthy direction.
28→21 finatra.http.modules uses finatra.http.exceptions✕
- Connections
- 3 pairs of types, where a type in finatra.http.modules uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.http.modules.ExceptionManagerModule→com.twitter.finatra.http.exceptions.ExceptionManagercom.twitter.finatra.http.modules.HttpResponseExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMappercom.twitter.finatra.http.modules.HttpResponseExceptionMapper→com.twitter.finatra.http.exceptions.HttpResponseException
- Direction
- finatra.http.modules uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.http.modules, while a change to finatra.http.modules can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.http.modules uses a module listed above it, which is the healthy direction.
29→3 finatra.http.request uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.request uses a type in inject.
- The types involved
com.twitter.finatra.http.request.MediaRange→com.twitter.inject.Logging
- Direction
- finatra.http.request uses inject, so a change to inject can break finatra.http.request, while a change to finatra.http.request can't break inject.
- Position
- Below the diagonal: finatra.http.request uses a module listed above it, which is the healthy direction.
29→25 finatra.http.request uses finatra.httpclient✕
- Connections
- 1 pair of types, where a type in finatra.http.request uses a type in finatra.httpclient.
- The types involved
com.twitter.finatra.http.request.RequestBuilder→com.twitter.finatra.httpclient.RequestBuilder
- Direction
- finatra.http.request uses finatra.httpclient, so a change to finatra.httpclient can break finatra.http.request, while a change to finatra.http.request can't break finatra.httpclient.
- Position
- Below the diagonal: finatra.http.request uses a module listed above it, which is the healthy direction.
30→3 finatra.http.response uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.response uses a type in inject.
- The types involved
com.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.inject.Logging
- Direction
- finatra.http.response uses inject, so a change to inject can break finatra.http.response, while a change to finatra.http.response can't break inject.
- Position
- Below the diagonal: finatra.http.response uses a module listed above it, which is the healthy direction.
30→7 finatra.http.response uses finatra.utils✕
- Connections
- 1 pair of types, where a type in finatra.http.response uses a type in finatra.utils.
- The types involved
com.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.finatra.utils.FileResolver
- Direction
- finatra.http.response uses finatra.utils, so a change to finatra.utils can break finatra.http.response, while a change to finatra.http.response can't break finatra.utils.
- Position
- Below the diagonal: finatra.http.response uses a module listed above it, which is the healthy direction.
30→11 finatra.http.response uses finatra.http.marshalling✕
- Connections
- 2 pairs of types, where a type in finatra.http.response uses a type in finatra.http.marshalling.
- The types involved
com.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.finatra.http.marshalling.MessageBodyManagercom.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.finatra.http.marshalling.WriterResponse
- Direction
- finatra.http.response uses finatra.http.marshalling, so a change to finatra.http.marshalling can break finatra.http.response, while a change to finatra.http.response can't break finatra.http.marshalling.
- Position
- Below the diagonal: finatra.http.response uses a module listed above it, which is the healthy direction.
30→18 finatra.http.response uses finatra.http.marshalling.WriterResponse✕
- Connections
- 4 pairs of types, where a type in finatra.http.response uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.response.EnrichedResponse→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.response.ResponseUtils→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.response.SimpleResponse→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.response uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.response, while a change to finatra.http.response can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.response uses a module listed above it, which is the healthy direction.
30→21 finatra.http.response uses finatra.http.exceptions✕
- Connections
- 2 pairs of types, where a type in finatra.http.response uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.http.response.EnrichedResponse→com.twitter.finatra.http.exceptions.HttpResponseExceptioncom.twitter.finatra.http.response.EnrichedResponseImpl→com.twitter.finatra.http.exceptions.HttpResponseException
- Direction
- finatra.http.response uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.http.response, while a change to finatra.http.response can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.http.response uses a module listed above it, which is the healthy direction.
31→3 finatra.httpclient.modules uses inject✕
- Connections
- 1 pair of types, where a type in finatra.httpclient.modules uses a type in inject.
- The types involved
com.twitter.finatra.httpclient.modules.HttpClientModuleTrait→com.twitter.inject.Injector
- Direction
- finatra.httpclient.modules uses inject, so a change to inject can break finatra.httpclient.modules, while a change to finatra.httpclient.modules can't break inject.
- Position
- Below the diagonal: finatra.httpclient.modules uses a module listed above it, which is the healthy direction.
31→9 finatra.httpclient.modules uses inject.modules✕
- Connections
- 1 pair of types, where a type in finatra.httpclient.modules uses a type in inject.modules.
- The types involved
com.twitter.finatra.httpclient.modules.HttpClientModuleTrait→com.twitter.inject.modules.StackClientModuleTrait
- Direction
- finatra.httpclient.modules uses inject.modules, so a change to inject.modules can break finatra.httpclient.modules, while a change to finatra.httpclient.modules can't break inject.modules.
- Position
- Below the diagonal: finatra.httpclient.modules uses a module listed above it, which is the healthy direction.
31→18 finatra.httpclient.modules uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.httpclient.modules uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.httpclient.modules.HttpClientModuleTrait→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.httpclient.modules uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.httpclient.modules, while a change to finatra.httpclient.modules can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.httpclient.modules uses a module listed above it, which is the healthy direction.
31→25 finatra.httpclient.modules uses finatra.httpclient✕
- Connections
- 1 pair of types, where a type in finatra.httpclient.modules uses a type in finatra.httpclient.
- The types involved
com.twitter.finatra.httpclient.modules.HttpClientModuleTrait→com.twitter.finatra.httpclient.HttpClient
- Direction
- finatra.httpclient.modules uses finatra.httpclient, so a change to finatra.httpclient can break finatra.httpclient.modules, while a change to finatra.httpclient.modules can't break finatra.httpclient.
- Position
- Below the diagonal: finatra.httpclient.modules uses a module listed above it, which is the healthy direction.
32→3 finatra.thrift.modules uses inject✕
- Connections
- 3 pairs of types, where a type in finatra.thrift.modules uses a type in inject.
- The types involved
com.twitter.finatra.thrift.modules.ExceptionManagerModule→com.twitter.inject.Injectorcom.twitter.finatra.thrift.modules.ExceptionManagerModule→com.twitter.inject.TwitterModulecom.twitter.finatra.thrift.modules.ThriftResponseClassifierModule→com.twitter.inject.TwitterModule
- Direction
- finatra.thrift.modules uses inject, so a change to inject can break finatra.thrift.modules, while a change to finatra.thrift.modules can't break inject.
- Position
- Below the diagonal: finatra.thrift.modules uses a module listed above it, which is the healthy direction.
32→21 finatra.thrift.modules uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.thrift.modules uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.thrift.modules.ExceptionManagerModule→com.twitter.finatra.http.exceptions.ExceptionManager
- Direction
- finatra.thrift.modules uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.thrift.modules, while a change to finatra.thrift.modules can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.thrift.modules uses a module listed above it, which is the healthy direction.
33→21 finatra.thrift.routing uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.thrift.routing uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.thrift.routing.BaseThriftRouter→com.twitter.finatra.http.exceptions.ExceptionMapper
- Direction
- finatra.thrift.routing uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.thrift.routing, while a change to finatra.thrift.routing can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.thrift.routing uses a module listed above it, which is the healthy direction.
33→23 finatra.thrift.routing uses finatra.http.routing✕
- Connections
- 1 pair of types, where a type in finatra.thrift.routing uses a type in finatra.http.routing.
- The types involved
com.twitter.finatra.thrift.routing.BaseThriftRouter→com.twitter.finatra.http.routing.Registrar
- Direction
- finatra.thrift.routing uses finatra.http.routing, so a change to finatra.http.routing can break finatra.thrift.routing, while a change to finatra.thrift.routing can't break finatra.http.routing.
- Position
- Below the diagonal: finatra.thrift.routing uses a module listed above it, which is the healthy direction.
34→1 finatra.http uses finatra.http.internal.routing✕
- Connections
- 1 pair of types, where a type in finatra.http uses a type in finatra.http.internal.routing.
- The types involved
com.twitter.finatra.http.RouteBuilder→com.twitter.finatra.http.internal.routing.CallbackConverter
- Direction
- finatra.http uses finatra.http.internal.routing, so a change to finatra.http.internal.routing can break finatra.http, while a change to finatra.http can't break finatra.http.internal.routing.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
34→3 finatra.http uses inject✕
- Connections
- 4 pairs of types, where a type in finatra.http uses a type in inject.
- The types involved
com.twitter.finatra.http.Controller→com.twitter.inject.Loggingcom.twitter.finatra.http.FilteredDSL→com.twitter.inject.Injectorcom.twitter.finatra.http.RouteBuilder→com.twitter.inject.Injectorcom.twitter.finatra.http.RouteContext→com.twitter.inject.Injector
- Direction
- finatra.http uses inject, so a change to inject can break finatra.http, while a change to finatra.http can't break inject.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
34→16 finatra.http uses inject.server✕
- Connections
- 2 pairs of types, where a type in finatra.http uses a type in inject.server.
- The types involved
com.twitter.finatra.http.AbstractHttpServer→com.twitter.inject.server.AbstractTwitterServercom.twitter.finatra.http.AbstractHttpServerTrait→com.twitter.inject.server.AbstractTwitterServer
- Direction
- finatra.http uses inject.server, so a change to inject.server can break finatra.http, while a change to finatra.http can't break inject.server.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
34→18 finatra.http uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.HttpServer→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http, while a change to finatra.http can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
34→23 finatra.http uses finatra.http.routing✕
- Connections
- 1 pair of types, where a type in finatra.http uses a type in finatra.http.routing.
- The types involved
com.twitter.finatra.http.HttpServer→com.twitter.finatra.http.routing.HttpRouter
- Direction
- finatra.http uses finatra.http.routing, so a change to finatra.http.routing can break finatra.http, while a change to finatra.http can't break finatra.http.routing.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
34→30 finatra.http uses finatra.http.response✕
- Connections
- 1 pair of types, where a type in finatra.http uses a type in finatra.http.response.
- The types involved
com.twitter.finatra.http.Controller→com.twitter.finatra.http.response.ResponseBuilder
- Direction
- finatra.http uses finatra.http.response, so a change to finatra.http.response can break finatra.http, while a change to finatra.http can't break finatra.http.response.
- Position
- Below the diagonal: finatra.http uses a module listed above it, which is the healthy direction.
35→18 finatra.http.internal.exceptions uses finatra.http.marshalling.WriterResponse✕
- Connections
- 7 pairs of types, where a type in finatra.http.internal.exceptions uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.internal.exceptions.AbstractFrameworkExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.CancelledRequestExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.HttpExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.HttpNackExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.HttpResponseExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.ThriftExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Responsecom.twitter.finatra.http.internal.exceptions.ThrowableExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.internal.exceptions uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.internal.exceptions, while a change to finatra.http.internal.exceptions can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.internal.exceptions uses a module listed above it, which is the healthy direction.
35→21 finatra.http.internal.exceptions uses finatra.http.exceptions✕
- Connections
- 4 pairs of types, where a type in finatra.http.internal.exceptions uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.http.internal.exceptions.AbstractFrameworkExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMappercom.twitter.finatra.http.internal.exceptions.HttpExceptionMapper→com.twitter.finatra.http.exceptions.HttpExceptioncom.twitter.finatra.http.internal.exceptions.HttpNackExceptionMapper→com.twitter.finatra.http.exceptions.HttpNackExceptioncom.twitter.finatra.http.internal.exceptions.HttpResponseExceptionMapper→com.twitter.finatra.http.exceptions.HttpResponseException
- Direction
- finatra.http.internal.exceptions uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.http.internal.exceptions, while a change to finatra.http.internal.exceptions can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.http.internal.exceptions uses a module listed above it, which is the healthy direction.
35→30 finatra.http.internal.exceptions uses finatra.http.response✕
- Connections
- 7 pairs of types, where a type in finatra.http.internal.exceptions uses a type in finatra.http.response.
- The types involved
com.twitter.finatra.http.internal.exceptions.AbstractFrameworkExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.CancelledRequestExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.HttpExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.HttpNackExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.HttpResponseExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.ThriftExceptionMapper→com.twitter.finatra.http.response.ResponseBuildercom.twitter.finatra.http.internal.exceptions.ThrowableExceptionMapper→com.twitter.finatra.http.response.ResponseBuilder
- Direction
- finatra.http.internal.exceptions uses finatra.http.response, so a change to finatra.http.response can break finatra.http.internal.exceptions, while a change to finatra.http.internal.exceptions can't break finatra.http.response.
- Position
- Below the diagonal: finatra.http.internal.exceptions uses a module listed above it, which is the healthy direction.
36→18 finatra.http.internal.exceptions.json uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http.internal.exceptions.json uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.internal.exceptions.json.CaseClassExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.internal.exceptions.json uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.internal.exceptions.json, while a change to finatra.http.internal.exceptions.json can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.internal.exceptions.json uses a module listed above it, which is the healthy direction.
36→21 finatra.http.internal.exceptions.json uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.http.internal.exceptions.json uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.http.internal.exceptions.json.CaseClassExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMapper
- Direction
- finatra.http.internal.exceptions.json uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.http.internal.exceptions.json, while a change to finatra.http.internal.exceptions.json can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.http.internal.exceptions.json uses a module listed above it, which is the healthy direction.
36→30 finatra.http.internal.exceptions.json uses finatra.http.response✕
- Connections
- 1 pair of types, where a type in finatra.http.internal.exceptions.json uses a type in finatra.http.response.
- The types involved
com.twitter.finatra.http.internal.exceptions.json.CaseClassExceptionMapper→com.twitter.finatra.http.response.ErrorsResponse
- Direction
- finatra.http.internal.exceptions.json uses finatra.http.response, so a change to finatra.http.response can break finatra.http.internal.exceptions.json, while a change to finatra.http.internal.exceptions.json can't break finatra.http.response.
- Position
- Below the diagonal: finatra.http.internal.exceptions.json uses a module listed above it, which is the healthy direction.
37→3 finatra.http.request.MediaRange uses inject✕
- Connections
- 1 pair of types, where a type in finatra.http.request.MediaRange uses a type in inject.
- The types involved
com.twitter.finatra.http.request.MediaRange.MediaRangeParser→com.twitter.inject.Logging
- Direction
- finatra.http.request.MediaRange uses inject, so a change to inject can break finatra.http.request.MediaRange, while a change to finatra.http.request.MediaRange can't break inject.
- Position
- Below the diagonal: finatra.http.request.MediaRange uses a module listed above it, which is the healthy direction.
37→29 finatra.http.request.MediaRange uses finatra.http.request✕
- Connections
- 3 pairs of types, where a type in finatra.http.request.MediaRange uses a type in finatra.http.request.
- The types involved
com.twitter.finatra.http.request.MediaRange.MediaRangeParser→com.twitter.finatra.http.request.MediaRangecom.twitter.finatra.http.request.MediaRange.MediaRangeParser→com.twitter.finatra.http.request.MediaTypecom.twitter.finatra.http.request.MediaRange.parseAndSort→com.twitter.finatra.http.request.MediaRange
- Direction
- finatra.http.request.MediaRange uses finatra.http.request, so a change to finatra.http.request can break finatra.http.request.MediaRange, while a change to finatra.http.request.MediaRange can't break finatra.http.request.
- Position
- Below the diagonal: finatra.http.request.MediaRange uses a module listed above it, which is the healthy direction.
38→18 finatra.http.response.EnrichedResponse uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.http.response.EnrichedResponse uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.http.response.EnrichedResponse.Builder→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.http.response.EnrichedResponse uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.http.response.EnrichedResponse, while a change to finatra.http.response.EnrichedResponse can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.http.response.EnrichedResponse uses a module listed above it, which is the healthy direction.
38→30 finatra.http.response.EnrichedResponse uses finatra.http.response✕
- Connections
- 1 pair of types, where a type in finatra.http.response.EnrichedResponse uses a type in finatra.http.response.
- The types involved
com.twitter.finatra.http.response.EnrichedResponse.Builder→com.twitter.finatra.http.response.EnrichedResponse
- Direction
- finatra.http.response.EnrichedResponse uses finatra.http.response, so a change to finatra.http.response can break finatra.http.response.EnrichedResponse, while a change to finatra.http.response.EnrichedResponse can't break finatra.http.response.
- Position
- Below the diagonal: finatra.http.response.EnrichedResponse uses a module listed above it, which is the healthy direction.
39→10 finatra.thrift uses inject.thrift✕
- Connections
- 1 pair of types, where a type in finatra.thrift uses a type in inject.thrift.
- The types involved
com.twitter.finatra.thrift.ThriftClientExceptionMapper→com.twitter.inject.thrift.ThriftClientException
- Direction
- finatra.thrift uses inject.thrift, so a change to inject.thrift can break finatra.thrift, while a change to finatra.thrift can't break inject.thrift.
- Position
- Below the diagonal: finatra.thrift uses a module listed above it, which is the healthy direction.
39→16 finatra.thrift uses inject.server✕
- Connections
- 2 pairs of types, where a type in finatra.thrift uses a type in inject.server.
- The types involved
com.twitter.finatra.thrift.AbstractThriftServer→com.twitter.inject.server.AbstractTwitterServercom.twitter.finatra.thrift.AbstractThriftServerTrait→com.twitter.inject.server.AbstractTwitterServer
- Direction
- finatra.thrift uses inject.server, so a change to inject.server can break finatra.thrift, while a change to finatra.thrift can't break inject.server.
- Position
- Below the diagonal: finatra.thrift uses a module listed above it, which is the healthy direction.
39→18 finatra.thrift uses finatra.http.marshalling.WriterResponse✕
- Connections
- 1 pair of types, where a type in finatra.thrift uses a type in finatra.http.marshalling.WriterResponse.
- The types involved
com.twitter.finatra.thrift.ThriftClientExceptionMapper→com.twitter.finatra.http.marshalling.WriterResponse.Response
- Direction
- finatra.thrift uses finatra.http.marshalling.WriterResponse, so a change to finatra.http.marshalling.WriterResponse can break finatra.thrift, while a change to finatra.thrift can't break finatra.http.marshalling.WriterResponse.
- Position
- Below the diagonal: finatra.thrift uses a module listed above it, which is the healthy direction.
39→21 finatra.thrift uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.thrift uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.thrift.ThriftClientExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMapper
- Direction
- finatra.thrift uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.thrift, while a change to finatra.thrift can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.thrift uses a module listed above it, which is the healthy direction.
39→33 finatra.thrift uses finatra.thrift.routing✕
- Connections
- 3 pairs of types, where a type in finatra.thrift uses a type in finatra.thrift.routing.
- The types involved
com.twitter.finatra.thrift.AbstractThriftServer→com.twitter.finatra.thrift.routing.JavaThriftRoutercom.twitter.finatra.thrift.AbstractThriftServer→com.twitter.finatra.thrift.routing.ThriftRoutercom.twitter.finatra.thrift.ThriftServer→com.twitter.finatra.thrift.routing.ThriftRouter
- Direction
- finatra.thrift uses finatra.thrift.routing, so a change to finatra.thrift.routing can break finatra.thrift, while a change to finatra.thrift can't break finatra.thrift.routing.
- Position
- Below the diagonal: finatra.thrift uses a module listed above it, which is the healthy direction.
40→21 finatra.thrift.internal.exceptions uses finatra.http.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.thrift.internal.exceptions uses a type in finatra.http.exceptions.
- The types involved
com.twitter.finatra.thrift.internal.exceptions.AbstractFrameworkExceptionMapper→com.twitter.finatra.http.exceptions.ExceptionMapper
- Direction
- finatra.thrift.internal.exceptions uses finatra.http.exceptions, so a change to finatra.http.exceptions can break finatra.thrift.internal.exceptions, while a change to finatra.thrift.internal.exceptions can't break finatra.http.exceptions.
- Position
- Below the diagonal: finatra.thrift.internal.exceptions uses a module listed above it, which is the healthy direction.
40→35 finatra.thrift.internal.exceptions uses finatra.http.internal.exceptions✕
- Connections
- 1 pair of types, where a type in finatra.thrift.internal.exceptions uses a type in finatra.http.internal.exceptions.
- The types involved
com.twitter.finatra.thrift.internal.exceptions.ThrowableExceptionMapper→com.twitter.finatra.http.internal.exceptions.AbstractFrameworkExceptionMapper
- Direction
- finatra.thrift.internal.exceptions uses finatra.http.internal.exceptions, so a change to finatra.http.internal.exceptions can break finatra.thrift.internal.exceptions, while a change to finatra.thrift.internal.exceptions can't break finatra.http.internal.exceptions.
- Position
- Below the diagonal: finatra.thrift.internal.exceptions uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 7 | High / Critical |
| A07:2025 — Authentication Failures | 2 | High / Critical |
Roadmap
Begin by resolving the missing architectural decision records and addressing the eighty-three orphaned files, prioritizing servers.scala, StatsFilter.scala, and ExceptionManager.scala. Next, integrate a static analysis security step into the continuous integration pipeline to prevent security regressions from reaching production. Finally, update the root README with a clear build and run quick-start section to improve onboarding for new contributors.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.2 pts | Low | ADR Quality |
| Resolve the 83 Orphaned file finding(s) in Knowledge Freshness — start with servers.scala (2), StatsFilter.scala (2), ExceptionManager.scala (2). | +5.9 pts | Medium | Knowledge Freshness |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +5.8 pts | Medium | Architecture documentation |
| Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +2.5 pts | Medium | Security & performance tooling |
| Add a build/run (quick start) section to the root README — the first thing a newcomer needs. | +2.0 pts | Medium | Documentation (README) |
| Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key. | +1.7 pts | Medium | Web-Security Posture |
| Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. | +0.8 pts | Low | Project Cohesion |
| Keep implementation types off the public surface (Java: package-private (no modifier), or leave its package out of `module-info` exports) so internals can change without breaking consumers. | +1.5 pts | Medium | Library API & versioning |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.8 | Slop | Static Analysis (SAST): High: REDACTED |
| http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala | 5.6 | Mixed | God Classes: TooManyMethods: HttpRouter |
| mysql-client/src/test/scala/com/twitter/finatra/mysql/EmbeddedMysqlServer.scala | 6.9 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| http-server/src/main/scala/com/twitter/finatra/http/internal/routing/Trie.scala | 7.4 | Mixed | Cyclomatic Complexity: Trie.findNonConstantRoute (cyclomatic 19) |
| doc/src/sphinx/exts/includecode.py | 7.8 | Mixed | Cyclomatic Complexity: IncludeCode.run (cyclomatic 31) |
| validation/src/main/java/com/twitter/finatra/validation/constraints/NotEmpty.java | 8.2 | Near-clean | Explicit Debt: TodoComment |
| jackson/src/main/scala/com/twitter/finatra/jackson/streaming/ByteBufferUtils.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| jackson/src/main/scala/com/twitter/finatra/jackson/caseclass/DefaultAnnotationIntrospector.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| inject/inject-utils/src/main/scala/com/twitter/inject/conversions/map.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| http-server/src/test/scala/com/twitter/finatra/http/EmbeddedHttpServer.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| http-server/src/test/scala/com/twitter/finatra/http/tests/request/MultiParamsTest.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| http-core/src/main/scala/com/twitter/finatra/http/fileupload/MultipartItem.scala | 8.2 | Near-clean | Explicit Debt: TodoComment |
| http-core/src/main/scala/com/twitter/finatra/http/marshalling/MessageInjectableValues.scala | 8.5 | Near-clean | Cognitive Complexity: MessageInjectableValues.handle (cognitive 17) |
| http-server/src/main/scala/com/twitter/finatra/http/RouteDSL.scala | 8.5 | Near-clean | God Classes: TooManyMethods: RouteDSL |
| http-core/src/main/scala/com/twitter/finatra/http/response/ResponseBuilder.scala | 8.5 | Near-clean | God Classes: TooManyMethods: ResponseBuilder |
| mysql-client/src/main/scala/com/twitter/finatra/mysql/util/DAOFieldExtractors.scala | 8.5 | Near-clean | God Classes: TooManyMethods: DAOFieldExtractors |
| http-core/src/main/scala/com/twitter/finatra/http/response/EnrichedResponse.scala | 8.5 | Near-clean | God Classes: TooManyMethods: EnrichedResponse |
| validation/src/main/scala/com/twitter/finatra/validation/constraints/MaxConstraintValidator.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (14–19 lines × 2) |
| http-server/src/main/scala/com/twitter/finatra/http/filters/AccessLoggingFilter.scala | 8.5 | Near-clean | Code Duplication: Duplicated block (8–10 lines × 2) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 65 of 65 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); none rely on LLM judgement. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 65 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 135 of 152 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | — | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.scala, .java) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`, or JaCoCo XML — `mvn jacoco:report` or the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`, or JaCoCo XML — `mvn jacoco:report` or the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.scala, .java) and this repository declares an sbt build (repository root, 436 test files), but it was not re-run: the analyzer environment could not run it. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D21 Naming Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run — this says nothing about whether its names are consistent.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D24 Comment Value — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is Guice and scala-guice, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- M4 Documentation accuracy — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. M4 checks only the claim kinds adjudicated at or above 95 % precision: links and versions (PREREGISTRATION version 9). Paths, command arguments, installs, environment variables, settings, projects, packages, routes, cd targets, infrastructure products and removed modules are read but not checked, and none of them is reported or counted.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
Dimensions
D1 · Cyclomatic Complexity
2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was IncludeCode.run at 31.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with IncludeCode.run (cyclomatic 31), Trie.findNonConstantRoute (cyclomatic 19). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cyclomatic Complexity from 9.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
4 method(s) exceeded the cognitive complexity threshold of 15; the worst was IncludeCode.run at 48.
What to do
- Bring the 4 bodies over 15 down to 15 or less in Cognitive Complexity — start with IncludeCode.run (cognitive 48), Trie.findNonConstantRoute (cognitive 46), Trie.appendHelper (cognitive 19). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 4 together lifts Cognitive Complexity from 8.5 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
5 god class(es) detected.
What to do
- Resolve the 5 TooManyMethods finding(s) in God Classes — start with RouteDSL.scala, ResponseBuilder.scala, HttpRouter.scala. — One of this dimension's main actionable groups (5 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
11 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted. 2 of the 13 are in trees this repository does not ship — vendored, example/demo, project-template, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 2 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with TraceIdMDCFilter.scala, HttpClient.scala. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with Publisher.scala, Publisher.java. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Members sharing a duplicated core (5 members, 50+ identical tokens) finding(s) in Code Duplication — start with HttpRouter.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
26 production modules (sbt), 0 dependency cycle(s), 1 unstable depended-on module(s). Read from the build's own module declarations; a dependsOn spread (deps: _*) and a project whose directory a helper computes are not visible there; 3 module(s) off the main sequence.
What to do
- Resolve the 3 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 1 Unstable project injectThriftClient finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
1 of 46 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with HttpRouter.scala. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
1460 test methods: 958 unit, 502 integration, 0 BDD, 0 e2e. The Scala suite contributes 1410 test case(s) across 189 file(s) in a test source set declaring at least one — every `test("…")`, `it("…")`, `property("…")` and `"…" in {…}` registration and every JUnit `@Test`, which is how munit, ScalaTest, utest, ZIO Test and specs2 declare a case; a case registered under a computed name is not counted, so this is a floor. Its tier split is INFERRED from paths and file names, except sbt's src/it source set, which the build declares.
D12 · Dependency Hygiene
2 outdated direct sbt declarations. An sbt declaration names an EXACT version, so the remedy is an edit to the build file — there is no lockfile refresh that would move it. Test-, Provided- and it-scoped declarations are excluded, because a consumer of this project never receives them. A version held in a Scala val is read only when the val is one string literal: sbt is a program rather than a manifest, and evaluating a computed version would invent the measurement rather than take it. Whether any artifact is DEPRECATED or ABANDONED is not graded and cannot be — Maven Central publishes no such marker, and release age does not stand in for one: the most widely depended-upon libraries are routinely the stalest, being finished rather than abandoned. Known CVEs in this dependency graph are D30's question.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 3 declared sbt dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the production coordinates this repository's 3 sbt build file(s) (build.sbt and project/*.scala) declare with a literal version, directly or through a string-literal val — `%%` resolved to the Scala binary suffix Central publishes under, test-scoped declarations excluded — the same declaration-site closure this analysis reads for dependency currency. sbt has no lockfile a checkout carries, so this is deliberately NOT the transitive closure. 43 further production coordinate(s) are declared with a version the build computes rather than writes as a literal — sbt is a program, and this pass does not run it — and are NOT graded: this verdict covers what the build pins literally or through a string-literal val, not the full graph.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D16 · Bus Factor
No source file's living knowledge is concentrated in a single author. Counted over 61 of the 317 production source files in this repository: 231 are under the ~2,400-byte size floor this dimension measures over, and the remaining 25 have no attributable history left to measure.
D17 · Explicit Debt
10 deducted task-comment markers across 21757 LoC (0.0/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 10 TodoComment finding(s) in Explicit Debt — start with EmbeddedMysqlServer.scala (3), NotEmpty.java, ByteBufferUtils.scala. — One of this dimension's main actionable groups (10 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
1 of 1 build units (sbt) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
1 finding(s): 0 critical, 1 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 1 REDACTED finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
7 finding(s): 0 critical, 4 high, 3 medium, 0 low. 4 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 2 file(s) — `doc/src/sphinx/_themes/flask/layout.html` (lines 1–4, line 6, lines 19–21, …), `doc/src/sphinx/_themes/flask_small/layout.html` (lines 1–4, line 6, lines 12–16, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
- No action in Static Analysis (SAST) — all 4 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (4 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D34 · Knowledge Freshness
86 of 86 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is build.sbt. Counted over 86 of the 317 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 83 Orphaned file finding(s) in Knowledge Freshness — start with servers.scala (2), StatsFilter.scala (2), ExceptionManager.scala (2). — One of this dimension's main actionable groups (83 recommendation-level).
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with build.sbt, EnrichedResponse.scala, HttpRouter.scala. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
- `HttpRouter` is one shared instance (@Singleton: every request runs on it, concurrently, on the server's thread pool) but writes its own state outside any lock (maxRequestForwardingDepth, globalFilter, globalBeforeRouteMatchingFilter, routes; e.g. `maxRequestForwardingDepth` in `withMaxRequestForwardingDepth` at line 92). Two requests that interleave lose an update, and a mutable collection written concurrently can corrupt. — http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:47
- `ThriftRouter` is one shared instance (@Singleton: every request runs on it, concurrently, on the server's thread pool) but writes its own state outside any lock (filters, underlying, routes; e.g. `filters` in `filter` at line 251). Two requests that interleave lose an update, and a mutable collection written concurrently can corrupt. — thrift/src/main/scala/com/twitter/finatra/thrift/routing/routers.scala:161
- `JavaThriftRouter` is one shared instance (@Singleton: every request runs on it, concurrently, on the server's thread pool) but writes its own state outside any lock (filters, serviceCreator; e.g. `filters` in `filter` at line 451). Two requests that interleave lose an update, and a mutable collection written concurrently can corrupt. — thrift/src/main/scala/com/twitter/finatra/thrift/routing/routers.scala:383
What to do
- Scala: keep controllers and singletons stateless — per-request data in locals, shared data in a store — or hold the state in a thread-safe type (TrieMap, AtomicInteger/AtomicReference, a cats-effect Ref) or update it under `synchronized { }`; a flag that is only ever overwritten can be a `@volatile var`.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
AX8 · Test isolation
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 1 of 2 project(s) that lack one — worth up to 1 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
- 35/36 types (97%) declared in the published library are public. For a library, every public type is a stability contract — keep implementation types off the surface and expose only the intended API.
What to do
- Keep implementation types off the public surface (Java: package-private (no modifier), or leave its package out of `module-info` exports) so internals can change without breaking consumers.
P2 · Observability
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add scalafix or scapegoat (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1738 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: scalafix or scapegoat — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
PF1 · Benchmark discipline
- A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement — allocations (the main way hot code pressures a garbage collector or allocator) aren't being measured. — benchmarks/src/test/scala/com/twitter/finatra/http/benchmarks/ControllerBenchmark.scala
What to do
- Run JMH with the GC profiler (`-prof gc`, or addProfiler(GCProfiler.class)) so allocation rate regressions are visible, not just time.
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 52 use(s) across 21,865 production line(s) (~2.4/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
- Java: on hot paths, work through buffer views (ByteBuffer/LongBuffer slices, MemorySegment) instead of copies, avoid boxing with primitive collections (fastutil, Eclipse Collections, HPPC, Trove), presize collections and StringBuilders, and pool expensive buffers (Netty's pooled allocator, commons-pool).
- Scala: on hot paths, make small wrappers value classes (extends AnyVal), @specialized generic code over primitives, use primitive collections, and presize builders.
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ (`MessageDigest.getInstance("SHA-256")`) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as xxhash or murmurhash says it in code — since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call. — inject/inject-utils/src/main/scala/com/twitter/inject/conversions/bytearray.scala:14
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is set on a response this repository's Scala server sends — defense in depth, even when a proxy could set them. (−2.0 on this card.) The server: inject/inject-server/src/main/scala/com/twitter/inject/server/TwitterServer.scala:29 — `TwitterServer`.
- This repository's Scala server sets cookies (http-core/src/main/scala/com/twitter/finatra/http/response/EnrichedResponse.scala:450 — `addCookie`) and no `httpOnly`, `secure` or `sameSite` flag is switched on anywhere, nor are its cookies Play's, which are HttpOnly by default. (−1.5 on this card.)
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key.
- Set security response headers on what the server sends — keep Play's `SecurityHeadersFilter` enabled, wrap akka/pekko-http routes in `respondWithHeaders(RawHeader("X-Content-Type-Options", "nosniff"), …)`, or add an http4s middleware that sets `Content-Security-Policy`, `X-Content-Type-Options` and a frame policy on every response.
- Flag the cookies the server sets: `HttpCookie(…, secure = true, httpOnly = true)` with `.withSameSite(…)` in akka/pekko-http, `ResponseCookie(…, secure = true, httpOnly = true, sameSite = Some(SameSite.Lax))` in http4s, or Play's `play.http.session.secure = true` — on every session and auth cookie.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- No build over this repository's 277 Scala product file(s) passes `-Yexplicit-nulls`, enables WartRemover's `Null` wart or runs Scalafix's `DisableSyntax.noNulls`, so every reference type admits null and nothing reports a `null` written into the code or returned from a Java API — the first one to reach a method call is a `NullPointerException`. `Option` by convention is a habit no tool here holds the code to.
What to do
- On Scala 3, add `-Yexplicit-nulls` to `scalacOptions` so `String` and `String | Null` mean different things, and type each Java API's result as nullable where it can return null; on Scala 2 (or as a first step), enable WartRemover's `Null` wart (`wartremoverErrors += Wart.Null`) or Scalafix's `DisableSyntax.noNulls = true` so the code holds absence in `Option`. Then pay the assertions down rather than adding to them: each `.nn` is a null the compiler could not rule out — wrap the Java value in `Option(…)` at the boundary, pattern-match on `null` once there, or change the API so the null cannot arrive; an `unsafeNulls` import switches the checking off for everything after it.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 73% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 73% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 55% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 62% | Adequate — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 66% | Adequate | Acceptable, with room to improve. |
| Performance | 83% | Strong | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 1 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 51 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, a MongoDB or Cassandra driver, JDBC) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Slick table or in a SQL migration's CREATE TABLE or ALTER TABLE — and no database or data-store client (Slick, Doobie, Quill, ScalikeJDBC, Anorm, Skunk, JDBC, MongoDB, Cassandra, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~35319 lines of test source are present (.scala, .java) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .scala suite was found but not re-run
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D19 Documentation Quality — No runnable or published unit to look for an example in, and no multi-project root README to look for a map in; the other documentation kinds are withheld (see the gaps), so documentation quality is not applicable here.
- D21 Naming Consistency — Naming consistency is measured on C# only; Java, Python, Scala not measured.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — D24 reads C# and Visual Basic comments only — this repository's production source is .java, .py, .scala, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.scala), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- DM1 Domain Modelling — applicable but not scored (2 signals for this style, 2 needed — the count is met but a required primary signal is absent): 70 value object(s); a Domain/Aggregates/ValueObjects layer
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM, Python source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (`addSbtPlugin("org.scoverage" % "sbt-scoverage" % "<version>")` in `project/plugins.sbt`, then `sbt clean coverage test coverageReport`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Scala, Java and Python were read, and no request in it can be cancelled by a caller — a Scala request takes no token: a Future cannot be cancelled, and cats-effect, ZIO and Monix interrupt the fiber that made the request from outside the call, not through a parameter; a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter; a Python request takes no token: asyncio cancels the task and trio or anyio the scope that made it, from outside the call, and requests, httpx, aiohttp and gRPC take a timeout, not a cancellation
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Java was read, and it logs through none that an assembled message defeats: java.util.logging's level methods, log4j 1, commons-logging, JBoss Logging and Flogger take one finished message (as log4net does in C#), or it makes no call through a named logger at all. Calls made through SLF4J or log4j 2 (`org.slf4j.Logger`, `org.apache.logging.log4j.Logger`, Lombok's `@Slf4j`) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 5 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 47 finding(s)
- TodoComment validation/src/main/java/com/twitter/finatra/validation/constraints/NotEmpty.java:31
- TodoComment mysql-client/src/test/scala/com/twitter/finatra/mysql/EmbeddedMysqlServer.scala:28
- TodoComment mysql-client/src/test/scala/com/twitter/finatra/mysql/EmbeddedMysqlServer.scala:48
- TodoComment mysql-client/src/test/scala/com/twitter/finatra/mysql/EmbeddedMysqlServer.scala:75
- TodoComment jackson/src/main/scala/com/twitter/finatra/jackson/streaming/ByteBufferUtils.scala:18
- TodoComment jackson/src/main/scala/com/twitter/finatra/jackson/caseclass/DefaultAnnotationIntrospector.scala:19
- TodoComment inject/inject-utils/src/main/scala/com/twitter/inject/conversions/map.scala:35
- TodoComment http-server/src/test/scala/com/twitter/finatra/http/EmbeddedHttpServer.scala:1141
- TodoComment http-server/src/test/scala/com/twitter/finatra/http/tests/request/MultiParamsTest.scala:239
- TodoComment http-core/src/main/scala/com/twitter/finatra/http/fileupload/MultipartItem.scala:6
- TooManyMethods: RouteDSL http-server/src/main/scala/com/twitter/finatra/http/RouteDSL.scala:95
- TooManyMethods: ResponseBuilder http-core/src/main/scala/com/twitter/finatra/http/response/ResponseBuilder.scala:28
- TooManyMethods: HttpRouter http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:47
- TooManyMethods: DAOFieldExtractors mysql-client/src/main/scala/com/twitter/finatra/mysql/util/DAOFieldExtractors.scala:33
- TooManyMethods: EnrichedResponse http-core/src/main/scala/com/twitter/finatra/http/response/EnrichedResponse.scala:34
- Stateful singleton: HttpRouter http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:47
- Stateful singleton: ThriftRouter thrift/src/main/scala/com/twitter/finatra/thrift/routing/routers.scala:161
- Stateful singleton: JavaThriftRouter thrift/src/main/scala/com/twitter/finatra/thrift/routing/routers.scala:383
- REDACTED
- REDACTED
- REDACTED
- Off the main sequence: injectDtab
- Off the main sequence: injectMdc
- Off the main sequence: injectUtils
- Duplicated block (8 lines × 2) http-server/src/main/scala/com/twitter/finatra/http/filters/TraceIdMDCFilter.scala:21
- Duplicated block (8 lines × 2) http-client/src/main/scala/com/twitter/finatra/httpclient/HttpClient.scala:78
- Duplicated block (10 lines × 2) examples/injectable-twitter-server/scala/src/main/scala/com/twitter/finatra/example/Publisher.scala:23
- Duplicated block (10 lines × 2) examples/injectable-twitter-server/java/src/main/java/com/twitter/finatra/example/Publisher.java:41
- IncludeCode.run (cyclomatic 31) doc/src/sphinx/exts/includecode.py:32
- Trie.findNonConstantRoute (cyclomatic 19) http-server/src/main/scala/com/twitter/finatra/http/internal/routing/Trie.scala:55
- IncludeCode.run (cognitive 48) doc/src/sphinx/exts/includecode.py:32
- Trie.findNonConstantRoute (cognitive 46) http-server/src/main/scala/com/twitter/finatra/http/internal/routing/Trie.scala:55
- Trie.appendHelper (cognitive 19) http-server/src/main/scala/com/twitter/finatra/http/internal/routing/Trie.scala:130
- MessageInjectableValues.handle (cognitive 17) http-core/src/main/scala/com/twitter/finatra/http/marshalling/MessageInjectableValues.scala:110
- REDACTED
- Members sharing a duplicated core (5 members, 50+ identical tokens) http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:388
- Members sharing a duplicated core (4 members, 50+ identical tokens) http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:460
- Duplicated block (14–19 lines × 2) validation/src/main/scala/com/twitter/finatra/validation/constraints/MaxConstraintValidator.scala:24
- Duplicated block (8–10 lines × 2) http-server/src/main/scala/com/twitter/finatra/http/filters/AccessLoggingFilter.scala:52
- Duplicated block (8–9 lines × 4) http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:460
- Duplicated block (9 lines × 2) http-core/src/main/scala/com/twitter/finatra/http/marshalling/MessageBodyManager.scala:95
- Duplicated block (8 lines × 5) http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:388
- Duplicated block (23 lines × 2) http-core/src/main/scala/com/twitter/finatra/http/response/HttpResponseClassifier.scala:29
- Duplicated block (6 lines × 2) http-client/src/main/scala/com/twitter/finatra/httpclient/RequestBuilder.scala:98
- Unstable project injectThriftClient
- Low cohesion: HttpRouter (LCOM4 4) http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:47
- Weak hash algorithm inject/inject-utils/src/main/scala/com/twitter/inject/conversions/bytearray.scala:14
Minor — 98 finding(s)
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/servers.scala:1
- Orphaned file thrift/src/main/scala/com/twitter/finatra/thrift/routing/routers.scala:1
- Orphaned file http-core/src/main/scala/com/twitter/finatra/http/marshalling/MessageBodyManager.scala:1
- Orphaned file http-core/src/main/scala/com/twitter/finatra/http/marshalling/MessageInjectableValues.scala:1
- Orphaned file inject/inject-core/src/main/scala/com/twitter/inject/TwitterModule.scala:1
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/RouteDSL.scala:1
- Orphaned file thrift/src/main/scala/com/twitter/finatra/thrift/servers.scala:1
- Orphaned file inject/inject-server/src/main/scala/com/twitter/inject/server/TwitterServer.scala:1
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/internal/routing/CallbackConverter.scala:1
- Orphaned file inject/inject-modules/src/main/scala/com/twitter/inject/modules/StackClientModuleTrait.scala:1
- Orphaned file http-core/src/main/scala/com/twitter/finatra/http/response/ResponseBuilder.scala:1
- Orphaned file http-core/src/main/scala/com/twitter/finatra/http/jsonpatch/JsonPatchOperator.scala:1
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/filters/StatsFilter.scala:1
- Orphaned file inject/inject-thrift-client/src/main/scala/com/twitter/inject/thrift/ThriftMethodBuilder.scala:1
- Orphaned file jackson/src/main/scala/com/twitter/finatra/jackson/modules/ScalaObjectMapperModule.scala:1
- Orphaned file inject/inject-app/src/main/scala/com/twitter/inject/app/App.scala:1
- Orphaned file mysql-client/src/main/scala/com/twitter/finatra/mysql/util/DAOFieldExtractors.scala:1
- Orphaned file thrift/src/main/scala/com/twitter/finatra/thrift/filters/StatsFilter.scala:1
- Orphaned file http-core/src/main/scala/com/twitter/finatra/http/request/MediaRange.scala:1
- Orphaned file inject/inject-app/src/main/scala/com/twitter/inject/app/internal/FlagsModule.scala:1
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/internal/routing/Trie.scala:1
- Orphaned file http-server/src/main/scala/com/twitter/finatra/http/filters/HttpResponseFilter.scala:1
- Orphaned file inject/inject-core/src/main/scala/com/twitter/inject/Injector.scala:1
- Orphaned file jackson/src/main/scala/com/twitter/finatra/jackson/caseclass/DefaultAnnotationIntrospector.scala:1
- Orphaned file inject/inject-thrift-client/src/main/scala/com/twitter/inject/thrift/modules/ThriftMethodBuilderClientModule.scala:1
- Most significant orphaned file build.sbt:1
- Most significant orphaned file http-core/src/main/scala/com/twitter/finatra/http/response/EnrichedResponse.scala:1
- Most significant orphaned file http-server/src/main/scala/com/twitter/finatra/http/routing/HttpRouter.scala:1
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- Dormant codebase
- No ADRs
- No architecture diagram/doc
- Large public API surface
- No SAST
- Benchmarks don't track allocations benchmarks/src/test/scala/com/twitter/finatra/http/benchmarks/ControllerBenchmark.scala
- No security response headers detected
- Secure cookie flags not detected
- Scala's null is not held to the type system everywhere
Minor — 2 finding(s)
- Outdated: com.twitter:joauth
- Outdated: org.scala-lang.modules:scala-collection-compat_2.13
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-39587dfcd92f49d7aad4488a44a0d6ac/history.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-39587dfcd92f49d7aad4488a44a0d6ac/tree.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 7 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-29c61aa1a8684da6a16bda4863102ae6 | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . /tmp/codehealth-osv-sbom-29c61aa1a8684da6a16bda4863102ae6 | 0 | artifacts/raw/osv-scanner.json |