believer/movies-graphql-postgres

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
lib/graphql/resolvers/mutations/__tests__/insertMovie.spec.js388
F
4 days
lib/services/__tests__/movie.spec.js1,127
D
2 days
lib/graphql/resolvers/mutations/__tests__/register.spec.js189
D
2 days
lib/graphql/resolvers/mutations/__tests__/login.spec.js143
D
2 days
lib/graphql/resolvers/queries/__tests__/bestForYears.spec.js37
D
2 days
lib/graphql/resolvers/queries/__tests__/friends.spec.js37
D
2 days
lib/graphql/resolvers/queries/__tests__/userMoviesPerYear.spec.js37
D
1 day
lib/graphql/resolvers/queries/__tests__/watches.spec.js37
D
1 day
lib/graphql/resolvers/mutations/insertMovie.js101
B
6 hrs
A
100%
lib/graphql/resolvers/queries/__tests__/movie.spec.js32
B
5 hrs
lib/graphql/resolvers/queries/__tests__/users.spec.js32
B
5 hrs
lib/graphql/resolvers/queries/__tests__/moviesPerYear.spec.js32
B
5 hrs
lib/graphql/resolvers/queries/__tests__/views.spec.js37
B
5 hrs
lib/graphql/resolvers/queries/__tests__/top250.spec.js25
B
4 hrs
lib/graphql/resolvers/queries/__tests__/ratings.spec.js28
B
4 hrs
lib/services/__tests__/login.spec.js50
B
4 hrs
lib/services/tmdb.js26
A
3 hrs
A
100%
lib/graphql/resolvers/queries/userMoviesPerYear.js18
A
3 hrs
A
100%
lib/graphql/resolvers/queries/friends.js20
A
3 hrs
A
100%
lib/graphql/resolvers/queries/watches.js16
A
3 hrs
A
100%
lib/graphql/resolvers/queries/__tests__/moviesWithRating.spec.js28
A
3 hrs
lib/services/__tests__/tmdb.spec.js67
A
2 hrs
lib/graphql/__tests__/schema.spec.js10
A
1 hr
lib/services/movie.js33
A
1 hr
A
91%
lib/graphql/resolvers/queries/__tests__/userRuntime.spec.js40
A
55 mins
lib/graphql/resolvers/queries/__tests__/feed.spec.js43
A
55 mins
lib/graphql/resolvers/queries/__tests__/totalByPerson.spec.js73
A
55 mins
lib/graphql/resolvers/mutations/__tests__/updateRating.spec.js87
A
55 mins
lib/graphql/resolvers/queries/__tests__/totalByRole.spec.js57
A
55 mins
lib/services/token.js35
A
50 mins
A
92%
lib/server.js73
A
50 mins
lib/utils/__tests__/helpers.spec.js141
A
50 mins
__mocks__/graphql-tag.js1
A
0 mins
__mocks__/graphql-tools.js3
A
0 mins
__mocks__/jsonwebtoken.js4
A
0 mins
__mocks__/knex.js1
A
0 mins
__mocks__/moviedb.js4
A
0 mins
__mocks__/nconf.js5
A
0 mins
__mocks__/require-dir.js1
A
0 mins
knexfile.js26
A
0 mins
lib/adapters/db.js13
A
0 mins
lib/adapters/knex.js3
A
0 mins
lib/graphql/resolvers/mutations/login.js24
A
0 mins
A
92%
lib/graphql/resolvers/mutations/register.js23
A
0 mins
A
100%
lib/graphql/resolvers/mutations/updateRating.js16
A
0 mins
A
100%
lib/graphql/resolvers/queries/__tests__/movies.spec.js28
A
0 mins
lib/graphql/resolvers/queries/__tests__/person.spec.js28
A
0 mins
lib/graphql/resolvers/queries/bestForYears.js24
A
0 mins
A
100%
lib/graphql/resolvers/queries/feed.js70
A
0 mins
A
100%
lib/graphql/resolvers/queries/movie.js25
A
0 mins
A
100%